A Admin • 828.70K Points Coach Q. What will happen if you add a service in the providers array of a component? (A) The service will be singleton app-wide (B) A new instance will be created for that component and its children (C) The service will be globally available (D) It will throw an error Correct Answer - Option(B) Views: 11 Filed under category Angular JS Hashtags: Share Manage Tags
Discusssion
Login to discuss.