Answers

Question and Answer:

  Home  AngularJS Developer

⟩ What is a service?

Services are JavaScript functions and are responsible to do specific tasks only. Each service is responsible for a specific task for example, $https: 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.

 164 views

More Questions for you: