Define factory method in angularjs.



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

Post New Answer

More AngularJS Interview Questions

Difference between display:none & visiblity:hidden?

1 Answers  


What are the directive scopes in angularjs?

1 Answers  


Difference between sessionstorage, cookies, and localstorage.

1 Answers  


What is the difference between ajax and angularjs?

1 Answers  


Difference between angularjs and javascript expressions?

1 Answers  


What set of modern browsers are supported in angular 2?

1 Answers  


What is routerstatesnapshot?

1 Answers  


What is @input and @output in angular 2?

1 Answers  


Can AngularJS have multiple ng-app directives in a single page?

1 Answers  


How to create and use a custom pipes?

1 Answers  


Explain ng-init directive angularjs?

1 Answers  


What do you understand by dependency injection in angularjs?

1 Answers  


Categories