Completed
Example of hierarchical dependency injection
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Angular Dependency Injection - Understanding Hierarchical Injectors
Automatically move to the next video in the Classroom when playback concludes
- 1 ANGULAR DEPENDENCY INJECTION
- 2 What is a dependency?
- 3 The Problem
- 4 Solution
- 5 Dependency Injection in Angular
- 6 Two injector hierarchies
- 7 Lazy loaded Module in the Routing!
- 8 Eagerly loaded Modules
- 9 Lazy loaded Modules
- 10 Example of hierarchical dependency injection
- 11 Provide Services in the Modules
- 12 Using Providedin in LazyService
- 13 Add LazyService to the Provider's Array of LazyModule
- 14 Services in a Component
- 15 Dependency Providers
- 16 Unique Injection Token
- 17 Wrapping up