🔥🔥🔥Do you want to master *Angular Material Themes* like a PRO? Check out my new Workshop where you will find a lot of advanced tips & tricks which will help you to make your themes maintainable, lean & consistent! Limited 50%-off discount is about to expire very soon: 🔗 bit.ly/angular-material-theming-workshop 🔥🔥🔥
@4444-c4sАй бұрын
You are not a really great Angular Developer but also a mind blowing Teacher. I can listen to your videos without getting bored for 2 hours
@giorgimerabishvili81943 жыл бұрын
Damn man, you just have one of the best channels about Angular!
@DecodedFrontend3 жыл бұрын
Thanks so much 😊
@NguyenHung-ye3cb10 ай бұрын
Your Angular channel is seriously impressive, it's like a goldmine of expertise!
@rembautimes88089 ай бұрын
It’s an amazing channel with great content. Brings out the powerful features of Angular. Thanks Dmytro
@MetaBlueAvatar3 жыл бұрын
The Angular documentation makes it really difficult to grasp these concepts. Kudos to you for making such a simple explanation video on this. The demo with the theory helps a lot! Keep up the good work
@DecodedFrontend3 жыл бұрын
Glad it was helpful!
@osah7122 жыл бұрын
I still have a hard time grasping it even with a video.
@emjaytripleo3 жыл бұрын
Coming from the Java world, I thought I had DI in lock until I worked in Angular, thanks for clarifying a lot of things, you deserve more subscribers.
@DecodedFrontend3 жыл бұрын
Thank you! Hopefully subscribers counter will be fixed soon ;)
@jakubrakowski34293 жыл бұрын
Finally I got pure essence... thank u so much for ur effort. Waiting for other interesting topics, cheers!
@DecodedFrontend4 жыл бұрын
Hi Guys! Thank you for watching my videos. Please use time codes in the video description and use saved time to leave your comments for this video 😉 It would be interesting to know for which real use-cases would you use this resolution modifiers 🙂
@harsh554 жыл бұрын
Not even a paid content is so clear and deep I'm glad I found your channel. love from India
@DecodedFrontend4 жыл бұрын
Thanks, Harsh :)
@vivmaniaa3 жыл бұрын
You are making the developers to stand out. Great job man. Love your content.
@DecodedFrontend3 жыл бұрын
Thank you for your feedback! Happy to hear that 😊
@robrabbit82884 жыл бұрын
Thank you for creating in depth details about angular! I really appreciate it! Keep going! :D
@DecodedFrontend4 жыл бұрын
Thanks, Rob! I am glad to hear such a warm feedback!😉
@elisaschnabel18114 жыл бұрын
All of your videos I watched so far were super easy to understand. A heavy topic easy explained.
@DecodedFrontend4 жыл бұрын
Glad it was helpful! Thank you for your feedback, Elisa :)
@ariMuayad3 жыл бұрын
Thank you so much. This is one of the few channel that divides into deep concepts and still maintains comprehension.
@RRCaddick3 жыл бұрын
Really enjoy your content! Makes this topic very easy to understand. Is it possible to make a video where you can explain practical real world examples of when these would apply?
@TheGeekWing3 жыл бұрын
This is really good. I'm very confused, reading the angular website but your explanation makes it really clear.
@bennyt16354 жыл бұрын
Excellent 👌🏼
@DecodedFrontend4 жыл бұрын
Thank you! I appreciate it :)
@caiosotans10 ай бұрын
Thank you very much!
@tarassavchenko23173 жыл бұрын
And .. Opana:D I won't write how amazing your lessons are under each video, but I mean it
@shivanimehrotra1874 жыл бұрын
Very smooth and you made it fairly easy to understand. I love your work. Make more content :)
@DecodedFrontend4 жыл бұрын
Thanks a lot :)
@fawadmukhtar22343 жыл бұрын
You explained very nicely. thank you
@puriajahanbani66362 жыл бұрын
What you teach us is absolutely pure gold!
@rohitkumar-sl6vn3 жыл бұрын
Awesome content. Easy to understand the content
@mashab91292 жыл бұрын
Every video from Dmytro is a gem, I found myself liking the video after first few seconds, after watching it till the end I want to put a 2nd like. 👏
@DecodedFrontend2 жыл бұрын
Thank you, Masha! I am glad that the video was useful to you 😊
@SuperLadly3 жыл бұрын
Good explaination. Precise .
@yasirhussain98692 жыл бұрын
Thank you for wishing me a productive week.
@sabbasi4 жыл бұрын
Again, very simple tutorial. Thanks, by the way you made it so clear to understand if it was the goal
@DecodedFrontend4 жыл бұрын
Happy to hear it! Thank you, Sajad 😉
@ttbooster3 жыл бұрын
I got the three first, self, skipself and optional but I'm not sure I understood host.. I tried to relate to an actual use case where those bindings would make better code and can definitely see the advantage of the isolated provider in a component with self but also that you can use the same service globally with skip self
@abhisheksitar3 жыл бұрын
Amazing video. Such a clear explanation. Please continue doing this.
@DecodedFrontend3 жыл бұрын
Thanks, will do!
@lucaspham52382 жыл бұрын
High quality contents, subscribed. Keep it up bro.
@Nice-coder3 жыл бұрын
it was completely clear what you explained about Resolution modifiers. But I am curious about the cases that we need to use these modifiers, what are their advantages? do you have any real applications and examples that you were forced to use them?
@headscreww4 жыл бұрын
From Sri Lanka, Thanks from ANGULAR SRI LANKA
@DecodedFrontend4 жыл бұрын
Hello Sri Lanka!😊 Thank you for feedback!
@sweetsamikshya3 жыл бұрын
Thank you so much Dmytro, I really love learning from your videos. Please keep up the work and yes you are one of the few who made it learning angular fun and easy
@singhkumardev3 жыл бұрын
Thank you for providing a piece of very useful knowledge. You are one of the best Instructor :)
@DecodedFrontend3 жыл бұрын
Thanks a lot !
@panchcw2 жыл бұрын
Very informative. This is the kind of videos that I desperately looking for so I can get a very good idea about how a framework is made.
@nanasarathi2 жыл бұрын
Well explained 👍 Thanks for creating this video 🙏
@DecodedFrontend2 жыл бұрын
You are welcome 🤗 glad you liked it
@TehreemAkhtar-b4z Жыл бұрын
Amazing Explanation man. So much clarity.
@fnujensonsamuel43613 жыл бұрын
I believe if u had mentioned DI bubbling, it would be have increased the awesomeness of this video. Afterall, "There is no charge for awesomeness and attractiveness".
@DecodedFrontend3 жыл бұрын
Hi, thanks! :) Actually I mentioned about it but in another video kzbin.info/www/bejne/fWndiaidmL6XbdE :)
@jojojawjaw3 жыл бұрын
Great course, thank you so much!
@DecodedFrontend3 жыл бұрын
You are welcome! :)
@misza15974 жыл бұрын
Great explanation! keep it up! :D
@DecodedFrontend4 жыл бұрын
Thanks! 😃
@amrmohamed26083 жыл бұрын
Amazing explanation! will you please tell me some use cases of such decorators and why would we use them?
@maciejkamela52924 жыл бұрын
Thank you, really nice and clean explanation.
@DecodedFrontend4 жыл бұрын
Thanks a lot for the feedback 😊
@gyulabarakso59913 жыл бұрын
Logging prefix in the component constuctors at @Self decoratoes doesnt proof it is a different instance, becouse first time its log the initial value after you overwrite it and log the overwrited value. Way to proof : overwrite it in the app component and log the initial value at the component. Keep up the good work !
@pashabiceps956 ай бұрын
Exactly. But i think the only way to prove is to use “useValue” or other property that overrides it in the providers array
@zakizaz13 жыл бұрын
Amazing work .. Thank you
@mohamedmubarak81103 ай бұрын
What is the extension or tool that helps for cli recommendations? 2:40
@abhavluthra5782 жыл бұрын
At 13:35 shouldn't it just give null rather than null error as we have added Optional modifier in parent scope?
@zrowork1984 жыл бұрын
great stuff! thank you
@DecodedFrontend4 жыл бұрын
Thank you, Aleksander! It is great to hear it 😊
@user-iq334 Жыл бұрын
Great content, thanks. Learning a lot.
@frontend34092 жыл бұрын
Time codes is great idea. Your clips are what was missing on KZbin. Currently, i'm switching jobs, have a lot of experiences, but i'm lacking of knowledge and your movies are what i need right now. Your tutorials are better than (poor IMO, it's one of disadvantages of Angular IMHO) documentation. To @Host() - by `host element` i understand the view of the app-root (so these two divs with 2 directive), right?
@akashwasson42206 ай бұрын
bro, you are pro! Thanks a lot!
@andreykositskiy6498 ай бұрын
thx for your work 🤗
@kasomafredrick22232 жыл бұрын
Oh great tutorial. I would use some of these techniques ie @self if i detect the key of my provider is likely to conflict with third party provider keys
3 жыл бұрын
Very good explanation! The skipSelf works perfect for not saturate memory on main chunk, for example registering icons in memory -> 100 icons in a child service and few in the parent. Do you know if is possible to unload services from memory?
@HarveyDaclan3 жыл бұрын
Thanks, very well explained. Does the resolution modifiers work as well with services that injects another service? How does angular resolve services if modules are lazy loaded?
@VipinRawat_Offcial3 жыл бұрын
Nice explanation 👌👌
@dmitriy59064 жыл бұрын
Nice! Please continue
@DecodedFrontend4 жыл бұрын
Thanks! I will 😉
@jonatabiondiJsLover8 ай бұрын
great! i question: in your sample with SkipSelf since we are in app.component where angular wich is parent injector? the root injector?
@vladimirlebedev000102 жыл бұрын
Hello! Thank you so much for this video and for your channel at all. It will be nice though if you show or describe some use cases for each modifier because it is not clear why we should use it at all :)
@mohininarwade96862 жыл бұрын
Can you please make a detail video on Subjects and its types? Thanks!
@mohininarwade96862 жыл бұрын
Also if you could make a video on Lazy loading with route guards please?
@MrNigam19923 жыл бұрын
@Decoded Frontend, since we are using the @Self annotation that's why it's creating two different instances of the log service or we injected it in the component level that's why it's creating the two instances.. can you point this?
@DecodedFrontend3 жыл бұрын
Hi! It is because you provide service also for the component injector. @Self resolution Modifier doesn’t create anything, it just controls how to resolve dependencies
@AsemDreibati9 ай бұрын
Thank you very much for this awesome tutorial ! In about @Host() section after we've removed providers from the parent directive what if we put viewProviders:[LoggerService] in AppComponent @Component decorator, Could this fix the issue since @Host() instructs angular to stop searching in the view of the host element ?
@DecodedFrontend9 ай бұрын
Hi Asem, Yes, for the Host() resolution modifier the viewProviders is the last place where angular looks for provider before to fail.
@sefatanam3 жыл бұрын
awesome man !
@aayushbhankale35943 жыл бұрын
Great material Man , just want to know which VS code extensions do you use , atleast for Angular.
@DecodedFrontend3 жыл бұрын
Hi! Thanks :) I use Angular Language Service and NX console extentions
@valikonen3 жыл бұрын
It is good for performance to use @Host()? ...to reduce the search in tree for dependencies.
@DecodedFrontend3 жыл бұрын
Hi, I don’t think so.. I mean yes, technically with Host() resolving will take less time because Angular won’t need to traverse a whole Injector tree but in fact it changes the logic of how Angular resolves decencies. So it is not a way of optimization. Angular uses highly optimized algorithms and highly efficient data structures, so you should not do anything extra there.
@MuhammadIbrahim-we7cq2 жыл бұрын
Very good and true explanation Dmytro, even better than the official docs one. Do you have a recommendation for a resource that we could understand from it the real things going under the hood beside your great videos?
@kousheralam86573 жыл бұрын
Thanks man.
@ksas3236 ай бұрын
thank you Habibi
@tvietnhat2 жыл бұрын
Great video. Thanks
@igorigor8063 жыл бұрын
I haven’t used these decorators during developing apps in Angular, I just have my services providedIn: ‘root’. Does it necessarily mean that something’s wrong here and my code can/should be improved? Thanks for the videos, btw, finally some advanced stuff about Angilar on KZbin :)
@DecodedFrontend3 жыл бұрын
Hi Igor! Hard to say without seeing your code but.. no, it doesn't strictly mean that something is wrong with your code. Very often providedIn : root is just enough ;)
@sourishdutta96004 жыл бұрын
Thanks for this lesson Man 👍 can you create one project with Angular using Nrwl nx with backend nest and another app in react or some other one in a same monorepo. It will be very helpful if you talking about that micro front end single repo architecture. Thank you so much. Another interesting topic can be Jamstack.
@DecodedFrontend4 жыл бұрын
Hi Sourish! Thank you for feedback and suggestion. You are not the first who asks me for NX Workspaces, so I am actually working on it but it takes some time in order prepare it well. I don't want to promise but I think you could expect the first videos about NX somewhere in the end of December/beginning of January :)
@sourishdutta96004 жыл бұрын
@@DecodedFrontend Thank you so much. Appreciate your hard work 👍
@nawazsharif71772 жыл бұрын
thank you very much, man
@minigeek4 жыл бұрын
could you please start ngrx series
@DecodedFrontend4 жыл бұрын
Hi :) There will be tutorials about ngrx a little bit later this year :)
@pajazinho3 жыл бұрын
YOU ARE GOLDEN
@greg66184 жыл бұрын
Great one :)
@DecodedFrontend4 жыл бұрын
Thanks, Greg! :)
@nuralikhoja87734 жыл бұрын
Can you write a detailed blog on this ?
@DecodedFrontend4 жыл бұрын
Yes! I gonna launch the Blog somewhere in 1st quarter of 2021 🙂
@Seyedmostafahosseni Жыл бұрын
its great 👌
@jayeshsheta53802 жыл бұрын
Why @self in app.Module not throw null injector error although you have not pass logger service in providedes array?
@Someartem10 ай бұрын
Because all eagerly loaded modules share the root module's providers, a service with {providedIn: 'root'} (LoggerService in that case) is instantiated in the root module's injector.
@compton8301 Жыл бұрын
Thank you.
@СуперИпполит2 жыл бұрын
thanks!
@Powerful-Manifestor-3 жыл бұрын
Awesome!
@DecodedFrontend3 жыл бұрын
Thank you! Cheers!
@rock_0823 Жыл бұрын
I am facing difficulty understanding SkipSelf example. It might be getting service injected from root only, but you are overwriting the prefix to "App Component" when its Self, but not overwriting with SkipSelf, that is the reason might be you are getting prefix as "App Component" when its self and not when its SkipSelf.
@哲綱許4 жыл бұрын
so goooooooooooooooooood!
@DecodedFrontend4 жыл бұрын
Thaaaank you :)
@masterlup3 жыл бұрын
@Host was the weird one but you explained it well.
@artemshapilov6683 жыл бұрын
nice!
@vikramadityakukreja67252 жыл бұрын
Super!!
@SouravDuttaROCKSTAR3 жыл бұрын
Wow, this is awesome, never knew about this before! I am now wondering what feature/requirement in a web app would use @Optional, @Self, @SkipSelf, @Host ...need to investigate more time on this looks interesting and fun! Subscribed, really valuable content here for Angular :D
@DecodedFrontend3 жыл бұрын
Great you learned something new from the video ;)
@williamxsp3 жыл бұрын
I had a component that I opened in a modal then I injected a modalRef inside this component so I can close it. But I also needed to open the same component like a page, so I didn't have a modalRef and I got this NullInjector error. Then I used @Optional() and everything is working fine.
@ermahesh20092 жыл бұрын
Great day
@hellonishant3 жыл бұрын
just WOWWWW
@DecodedFrontend3 жыл бұрын
Thanks!!!
@swapnasaritnayak25693 жыл бұрын
thank you :)
@dasvas93833 жыл бұрын
круто! спасибо)
@DecodedFrontend3 жыл бұрын
Всегда пожалуйста)
@SergioUkrAr3 жыл бұрын
Thanks)
@brette2 жыл бұрын
Awesome
@chagamajaykumarreddy18972 жыл бұрын
nice
@paymankhayree85523 жыл бұрын
I couldnt understand host 😢😢
@Dekutard2 жыл бұрын
but why would you ever use these? leaving a like btw. amazing content
@DecodedFrontend2 жыл бұрын
Different reasons. For instance you may have a library that can be configurable and you inject the config via DI. Most probably you would like to have it optional and to not force user to provide own config but rather use some default one, so for this case you would use @Optional(). Sometimes Resolution Modifiers could be used as guards to be sure that the component is being used properly e.g you have a directive that must be used within some form and this directive injects this parent form. In this case I would decorate it with @Host() because it looks for the provider only within the view where the directive was declared. If there is no provider within the view (namely the parent form) then most probably the directive is used wrongly and I should notify a developer by throwing a warning or an error. If I don’t do it then Angular will go further through NodeInjector tree and might resolve a wrong provider and it will be caused of wrong behavior or runtime error. Same if I have component and its state is handled by a dedicated service. In this case I would use @Self() to be sure that I inject the service provided exactly for the component injector: not the global one from root injector, not from any other injector but the injector that belongs to this particular component.
@Dekutard2 жыл бұрын
@@DecodedFrontend you're amazing. I'll try to like every video i watch from ya lol. I don't think there's much else i can do to provide value in return