Answers

Question and Answer:

  Home  AngularJS Developer

⟩ Tell me what is factory method in AngularJS?

For creating the directive, factory method is used. It is invoked only once, when compiler matches the directive for the first time. By using $injector.invoke the factory method is invoked.

 184 views

More Questions for you: