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

What is the difference between Kris Kowal's Q and $q?

0 Answers  


List the modern browsers supported by angular 2?

0 Answers  


What is provider?

0 Answers  


How to bootstrap your angular app for multiple modules?

0 Answers  


What string interpolation is in angularjs?

0 Answers  






What is pipe decorator?

0 Answers  


Which components can be injected as a dependency in angular js?

0 Answers  


Explain about angularjs value?

0 Answers  


What is a decorator function?

0 Answers  


What is eventemitter angular2?

0 Answers  


How does a controller work?

0 Answers  


Explain currency filter and when to use it?

0 Answers  


Categories