Answer:
Factory method are used to create the directive. It is invoked only once, when compiler matches the directive for the first time.
Previous Question | Next Question |
What is injector? | What is ng-model in AngularJS? |
Previous Question | Next Question |
What is injector? | What is ng-model in AngularJS? |