AngularJS Developer Question:
Download Questions PDF

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, $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.

Download AngularJS Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what makes the angular.copy() method so powerful?What is uppercase filter?