AngularJS Developer Question: Download Questions PDF
Tell me what is factory method in AngularJS?
Answer:
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.
Download AngularJS Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain currency filter in AngularJS? | Tell me the role of $routeProvider in AngularJS? |