Angular - Services and Dependency Injection
Which is the correct way to make an Angular service a singleton using the @Injectable decorator?
providedIn: 'root' to provide a singleton service at the app root level.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions