Dependency Injection in Angular is a big and hard topic but it is crucial to understand it at least on some basic level in order to build scalable, testable and flexible components and applications. Why do we need DI in Angular? What happens behind the scenes? How Angular resolves dependencies? Answers on all this questions you will find in this video tutorial.

πŸ•’ Time codes:
00:00:00 - Intro
00:01:00 - Why do we need Dependency Injection?
00:03:00 - Let’s create our own DI prototype
00:08:49 - Hierarchical Dependency Injection in Angular explained
00:12:17 - Dependency resolution rules
00:15:43 - Outro

πŸ”— Links:
More about Dependency Injection:
https://angular.io/guide/dependency-injection

πŸ‘• T-shirts for programmers: https://bit.ly/3ir3Gci

πŸ”” Subscribe: https://www.youtube.com/c/DecodedFrontend/featured

#angular

Angular Dependency Injection – Understanding Hierarchical Injectors
12.70 GEEK