Can you explain factory method in angularjs?



Can you explain factory method in angularjs?..

Answer / Mohd.monis

A factory in AngularJS is a function that returns an object, which can serve as a service or provider for the application. Factories allow for the creation of complex objects and services that require configuration or dependencies.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Is angular material responsive?

1 Answers  


In angular 2 module consist of what arrays?

1 Answers  


What is router-link directive in angular?

1 Answers  


Why do we use angular instead of react js?

1 Answers  


How performance improvements on the core in angular 8?

1 Answers  


Explain filter filter?

1 Answers  


How to enable lazy loading?

1 Answers  


What does injectable mean?

1 Answers  


Is angularjs extensible?

1 Answers  


Explain the compilation process of angularjs?

1 Answers  


How did you get the value from input box using jquery?

1 Answers  


What is ng-model in angularjs?

1 Answers  


Categories