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 :

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at