Angular - Services and Dependency Injection
Which of the following correctly declares an Angular service with
@Injectable that is provided at the root injector?@Injectable that is provided at the root injector?providedIn property must be a string literal specifying the injector scope, e.g., 'root'.providedIn inside the class body.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions