Saturday, 29 August 2015

What are factory method in angularJs?

Factory method are used to create the directive. It is invoked only once, when compiler matches the directive for the first time.
By using $injector.invoke the factory method is invoked.

1 comment: