Which ones are singleton in angularjs?



Which ones are singleton in angularjs?..

Answer / Piyush Saxena

In AngularJS, services by default are singletons. This means that once a service is created, the same instance is shared across the entire application.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Which Angular Directive Would You Use To Hide An Element From The DOM Without Modifying Its Style?

1 Answers  


Explain how component routing works in angular. How to define routes and sub-routes in angular 5?

1 Answers  


With options on page load how you can initialize a select box?

1 Answers  


What is $inject in angularjs?

1 Answers  


What is data binding angular?

1 Answers  


What is the difference between a stateful and stateless component in angularjs?

1 Answers  


If you were to migrate from angular 1.4 to angular 1.5, what is the main thing that would need refactoring?

1 Answers  


Doadd(1,2) doadd(1,2,3,4) use the above arguments to sum the value. Using without any parameter receive throught the function.?

1 Answers  


Explain the difference between a factory and a service in angularjs?

1 Answers  


How to bind to user input events to component event handlers?

1 Answers  


What types of pipes are supported in angular 2?

1 Answers  


Explain ng-show directive angularjs?

1 Answers  


Categories