Explain factory method in angularjs?
Answer / Ritesh Srivastava
A factory in AngularJS is a function that returns an object. It is used to create and return services, which can be injected into other parts of the application. Factories provide a way to instantiate complex objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between a unit and end-to-end (e2e) test in angularjs?
What do you understand by validation of data in angularjs?
What is difference between ng if and ng show?
What is buffer (window storage)?
What is internationalization in angularjs?
What is npm command?
How to handle mobile browsers/devices events in AngularJS?
What are angular prefixes $ and $$?
What is @viewchild in angular?
What is pure pipe?
How to access jQLite or jQuery with AngularJS?
Does angular support nested controllers?