A Admin • 828.70K Points Coach Q. How can you make a service available only to a specific module? (A) Provide it in that module’s providers array (B) Add @Injectable({providedIn: 'root'}) (C) Provide it in AppModule only (D) Declare it in a component Correct Answer - Option(A) Views: 14 Filed under category Angular JS Hashtags: Share Manage Tags
Discusssion
Login to discuss.