AngularJS Question:

What are factory method in angularJs?

AngularJS Interview Question
AngularJS Interview Question

Answer:

Factory method are used to create the directive. It is invoked only once, when compiler matches the directive for the first time.


Previous QuestionNext Question
What is injector?What is ng-model in AngularJS?