A Admin • 825.56K Points Coach Q. How do you define a service that should be scoped only to a specific Angular module? (A) Provide it in the module's providers array (B) Use providedIn: 'root' (C) Use providedIn: 'any' (D) Add it to the component's providers array Correct Answer - Option(A) Views: 9 Filed under category Angular JS Hashtags: Share Manage Tags
Discusssion
Login to discuss.