AngularJS Interview Questions

What is the factory method in AngularJS? Factory method is used for creating a directive. Whenever the compiler matches the directive for the first time, the factory method is invoked. Factory method is invoked using $injector.invoke. Syntax module.factory(‘factoryName’, function);   What is the Global API in AngularJS? Global API is the combination of global JavaScript …

AngularJS Interview Questions Read More »