What is singleton in angularjs?
Answer / Amit Kumar Srivastava
In AngularJS, a singleton is a service instance that gets created once when the module initializes and remains for the lifetime of the application. Multiple controllers or services can access the same singleton instance.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you decrease the digest cycle time?
Ln component and service which logic that we have to write?
What are the types of linking function?
What is @output in angular?
What is template angular 2?
What angularjs 7?
Explain $watch(), $watchgroup() and $watchCollection() functions of scope?
What is component?
What is binding in java?
What is a directive order?
Why there are two “destroy” events associated with the termination of scope in angularjs?
Why use pipes in angular?