Question:What is Service in AngularJS? 

Answer 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. 

+ Report
Total Preview: 849
What is Service in AngularJS?
Copyright © 2024. Powered by Intellect Software Ltd