Nitin Choudhary
Explain what is factory method in angular.js?
By Nitin Choudhary in Angular on Jan 20 2015
  • Bhuvanesh Mohankumar
    May, 2016 19

    Factory is the place where the objects are created for the first time when its is required, In AngularJS the Controler objects are Instantiated using "Invoke" operations avaibale in "$Injector"

    • 0
  • Nitin Choudhary
    Jan, 2015 20

    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.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS