Define factory method in angularjs.
Answer / Sharad Vishwakarma
A factory method in AngularJS is a service that returns an object. It can be used to create and return custom objects, which can be used elsewhere in the application.
| Is This Answer Correct ? | 0 Yes | 0 No |
Difference between display:none & visiblity:hidden?
What are the directive scopes in angularjs?
Difference between sessionstorage, cookies, and localstorage.
What is the difference between ajax and angularjs?
Difference between angularjs and javascript expressions?
What set of modern browsers are supported in angular 2?
What is routerstatesnapshot?
What is @input and @output in angular 2?
Can AngularJS have multiple ng-app directives in a single page?
How to create and use a custom pipes?
Explain ng-init directive angularjs?
What do you understand by dependency injection in angularjs?