Chapter 7. Services, Dependency Injection, and NgModule
This chapter will cover the following recipes:
Injecting a simple service into a component
Controlling service instance creation and injection with NgModule
Service injection aliasing with useClass and useExisting
Injecting a value as a service with useValue and OpaqueTokens
Building a provider-configured service with useFactory