What is the factory method?
Answer / Nidhi Saxena
Factory in AngularJS is a service that returns an object from a function. This allows us to create custom services and manage dependencies.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to get user input from the $event object?
What is the difference between an annotation and a decorator in angular?
What is dependency injection (di) in angular?
What exactly is angularjs?
Is angular material responsive?
What is npm start?
What is async pipe in angular?
How to handle xss or csrf attacks in angular 4 ?
What are ngModel and how do we represent it?
What is the singleton pattern? How does angular use it?
Can we have nested controllers in AngularJS?
Explain validations done in angularjs?