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
More about Dependency Injection:
👕 T-shirts for programmers: https://bit.ly/3ir3Gci
🔔 Subscribe: https://www.youtube.com/c/DecodedFrontend/featured