in Angular by
Q:
What is a provider in Angular?

▼ Show 1 Answer

0 votes
by

A provider is a configurable service in Angular. It is an instruction to the Dependency Injection system that provides information about the way to obtain a value for a dependency. It is an object that has a $get() method which is called to create a new instance of a service. A Provider can also contain additional methods and uses $provide in order to register new providers.

Angular JS
Learn More with Madanswer

Related questions

+1 vote
asked Jan 15, 2020 in Angular by rahuljain1
...