adspace
Answer Posted / 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 |
Post New Answer View All Answers
How to get and log an error in angular 4?
How to enable html5 mode in angular 1.x?
What is a dynamic route in angularjs and how do you implement it?
Which version you are using js?
How to implement a datagrid table with angular 2 and primeng?
Angularjs dependency injection of value inside of the module.config?
What is the latest version of angular?
Give the example of angularjs strings?
How can primeng be used with angular2?
How to use primeng in angular 4?
How to create angularjs filter which outputs html?
What is the latest angular?
How an object or function can get a hold of its dependencies?