DI

A collection of 1 post

Registering Providers in Angular 6

Now, in angular 6 there is no need to do that and you can use the new providedIn property of @Injectable decorator:

Get The Best Of All Posts Delivered To Your Inbox

Subscribe to our newsletter and stay updated.