What is factory in angularjs?



What is factory in angularjs?..

Answer / Mansi Siddhu

In AngularJS, a factory is a service that returns an object. It can be used to create services, filter functions, and value objects without the need for a constructor function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

How to get the data from db?

1 Answers  


What is attribute directive in angular?

1 Answers  


List some new features comes with angular6

1 Answers  


Explain different filters provided by angularjs?

1 Answers  


What are directive words?

1 Answers  


How did you stop observable?

1 Answers  


How do you use ng value?

1 Answers  


What is mvc5?

1 Answers  


How we can use styleurls and styles in angular 2?

1 Answers  


What is the possible order of lifecycle hooks in angular?

1 Answers  


What is component?

1 Answers  


What Is Ng-View In AngularJS?

1 Answers  


Categories