What is Service in AngularJS?



What is Service in AngularJS?..

Answer / chaitanya

A service is a reusable singleton object which is used to organize and share code across your app. A service can be injected into controllers, filters, directives.

AngularJS offers several built-in services (like $http, $provide, $resource, $window, $parse) which always start with $ sign.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More AngularJS Interview Questions

How can you use factory method in angularjs?

1 Answers  


What is the need of angular 2?

1 Answers  


What is the second argument in watch?

1 Answers  


What is a pure pipe?

1 Answers  


Indexof(), if the given value is not in the string / array it will return what?

1 Answers  


Explain AngularJS Application Life-Cycle?

1 Answers  


What the different between a directive and component?

1 Answers  


Does google use angular?

1 Answers  


How to display images based on the status(a, b, and c) in angular js?

1 Answers  


What is one way data binding in angularjs?

1 Answers  


What is an isolated scope?

1 Answers  


What is async pipe?

1 Answers  


Categories