AngularJS Services are injectable object using dependency injection (DI) mechanism. Complete reference of AngularJS services to organize and share code across your app. Click on "Try Now" button to modify and test code yourself.
Services | Description | Live Demo |
---|---|---|
$cookies | This service is useful to write, read and delete browser cookies. | Try Now |
$window | This service is similar to reference to the browser's window object. | Try Now |
$filter | This service is used for formatting data displayed to the user. | Try Now |
$document | This service is wrapper for the browser's window.document object. | Try Now |
$location | This service is similar to window.location object and exposes the current URL in the browser address bar. | Try Now |
$log | This service is useful to write error, info, warning and debugging into the browser's console. | Try Now |
$parse | This service is useful to convert AngularJS expression into a function. | Try Now |
$rootElement | This service is useful to access root element. | Try Now |
$exceptionHandler | This service is useful to handle an uncaught exception in angular expressions by overriding the default exception handler behaviour. | Try Now |
$templateCache | This service is useful to set form within a form. | Try Now |
$timeout | This service is just wrapper for window.setTimeout function so that it will be easy to override, remove or mocked for testing. | Try Now |
$interval | This service is similar to JavaScript's window.setInterval function. | Try Now |
$cacheFactory | This service evaluates specified expression when the user changes the input. | Try Now |
$anchorScroll | This service is useful to set checkbox checked. | Try Now |