The services API provides objects for carrying out common web app tasks. Service objects are managed by angular's dependency injection system.
$browser
- Provides an instance of a browser object$cookieStore
- Provides key / value storage backed by
session cookies$cookies
- Provides read / write access to browser cookies$defer
- Defers function execution and try / catch block$document
- Provides reference to window.document
element$exceptionHandler
- Receives uncaught angular
exceptions$hover
-$invalidWidgets
- Holds references to invalid widgets$location
- Parses the browser location URL$log
- Provides logging service$resource
- Creates objects for interacting with RESTful
server-side data sources$route
- Provides deep-linking services$updateView
- Queues view updates$window
- References the browsers window
object$xhr
- Generates an XHR request.For information on how angular services work and how to write your own services, see Angular Services in the angular Developer Guide.