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 |
What is activatedroute in routes?
Why is it called angular?
What is the factory method in angular 2?
What is a locale ID?
What is lazy loading and how to enable lazy loading?
What is two way data binding in angular?
Is angular still popular?
What are differences between template and templateurl?
What is angular life cycle?
What is services in angular.js?
How did you stop observable?
How to create a new component using cli in angular 4?