What is Provider? What are different method Providers in angularJS?

 Posted by kgovindarao523-21772 on 8/8/2014 | Category: JavaScript Interview questions | Views: 403 | Points: 40
Answer:

Provider is used to get values from the external sources by means of RESTful services.
AngularJS uses $provide to register new providers.

The $provide has six methods to create custom providers.
*.constant
*.value
*.service
*.factory
*.decorator
*.provider


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by kgovindarao523-21772