Video- Simplifying Dependency Injection, Services, and Providers in Angular

This video explain DI, Services, and Providers in Angular . It explain the following topics,

  1. Theory of Dependency Injection
  2. provideIn : ‘root’
  3. Tree shakeable services
  4. singleton service
  5. useClass
  6. useExisting
  7. useFactory
  8. useValue
  9. Real time example of useClass in a global error handling of app
  10. service in lazy loaded modules
  11. provideIn :’any’

Download SourceCode : https://github.com/debugmodedotnet/angulardependecyinjectionsample

Leave a comment

Create a website or blog at WordPress.com