Providers in Angular Route - New Feature in Angular 14 (2022)

Angular 14 is definitely one of the most significant and powerful releases in the last couple of years. In this video, I would like to cover one feature that slightly dissolved in the hype around standalone components and typed forms. This feature is "providers" property in routes. How does it work and what impact on current Angular Dependency Injection it has - all these questions will be covered in this video. Let me know what do you think about it? Let's discuss it in the comments!

💥 Angular courses made by Dmytro - https://bit.ly/df-courses 💥
✂️ Use coupon YOUTUBE_DISCOUNT to get a 10%-off discount ✂️

Source code on GitHub:
https://github.com/DMezhenskyi/new-router-features-angular14

🕒 Time Codes:
00:00:00 - Intro;
00:00:40 - Describe a demo project;
00:02:18 - Describe a use case to implement;
00:03:47 - Project code overview;
00:06:13 - Route providers in action;
00:11:51 - Impact on current Angular DI;
00:13:43 - Outro;

↙️ Short Frontend Snacks every week here:
Twitter - https://twitter.com/DecodedFrontend
Instagram - https://www.instagram.com/decodedfrontend
LinkedIn - https://www.linkedin.com/in/dmezhenskyi

#angular #angular14 #webdevelopment #ng

Home