Advertisement

Advertisement banner

Advertisement

Advertisement banner
EducationWhat is a provider method in AngularJs?
R

| Posted on August 9, 2019 | education

What is a provider method in AngularJs?

1 Answers
G

Guest

@guest6271 | Posted on August 9, 2019

A provider is an object which creates a service object by allowing to take more control.
$get() method is used in the provider which returns the service object. The service name and the factory function are the arguments that are passed into the provider method. AngularJS uses $provide to register new providers.
0 Comments