Chapter 6. Dependency Injection in Angular
In this chapter, we'll explain how to take advantage of the Dependency Injection (DI) mechanism of the framework, with all its various features.
We will explore the following topics:
- Configuring and creating providers
- Injecting dependencies, instantiated with the declared providers
- Lower level APIs for creating and configuring injectors
- Reusing business logic defined in services across our UI components