Question:What is a service? 

Answer Services are JavaScript functions and are responsible to do specific tasks only. Each service is responsible for a specific task for example, $http is used to make ajax call to get the server data. $route is used to define the routing information and so on. Inbuilt services are always prefixed with $ symbol. 

+ Report
Total Preview: 980
What is a service?
Copyright © 2024. Powered by Intellect Software Ltd