A.  Provider is used by AngularJS internally to create services, factory etc.

B.  Provider is used during config phase.

C.  Provider is a special factory method.

D.  All of the above.

1
Correct Answer :
All of the above.
Explanation :

Provider is used by AngularJS internally to create services, factory etc. during config phase(phase during which AngularJS bootstraps itself). Below mention script can be used to create MathService that we've created earlier. Provider is a special factory method with a method get() which is used to return the value/service/factory.


Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python