AngularJS services

AngularJs services are javaScript function that perform a specific tasks only. Using dependency injection mechanism services are normally attached. AngularJS provides some build in services i.e. $http, $route, $window, $location etc where each service is responsible for different tasks. For example, $http is used for ajax call, $route is for routing information. There are two […]