Inject Alternate Service Class in Angular

One of the several advantages of using dependency injection is that we can switch the provider class of a service very easily. This is most commonly done from unit tests. But some advanced applications can use alternate services in production.

Continue reading

Advertisements