What is factory method in angular.js?
Answer / Chetan Jaiswal
In AngularJS, a factory is a function that creates and returns an object. It's used to define services. Factories can be useful when you need to perform complex operations during service creation.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of polyfills.ts file in angular 2?
What is the use of codelyzer in angular 2?
Explain The Steps Involved In The Boot Process For AngularJS?
What is the function of the $timeout service?
Which is the first argument typically passed to a node.js callback handler?
What is the role of $routeprovider in angularjs?
What is latest version of angularjs?
Which of the following directive is used to initialize an angular app?
What is the difference between a link and compile in angular?
What is ng controller in angularjs?
What are components in angular?
Explain $event in angular 5?