Saved Bookmarks
| 1. |
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. 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. |
|