Explain what is a factory method in angularjs?
Answer / Aviral Pratap Singh
A factory method is a special function in AngularJS that creates an object. It's often used to create services, values, or constants. The created object can be returned from the function and can also have dependencies injected into it.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to setup and install ionic framework with angular 4?
What is aot?
What are differences between angular 4 and angular 2?
What are the differences between service and factory methods?
Explain the difference between angular.js and backbone.js?
What is the digest cycle in angularjs?
Difference between promises and observable?
What is the use of viewchild in angular?
Explain The Directives Ng-If, Ng-Switch, And Ng-Repeat?
Why webpack is used in angular?
What is a cookie?
what is angular expression?