Service reference

Look up injectable AngularTS services and their runtime responsibilities.

Service names beginning with $ are framework-provided injection tokens. Read the service guides first if services or dependency injection are new to you.


$anchorScroll

Scroll to document anchors and coordinate hash-driven scrolling.

$compile

Template compilation service

$controller

Controller service

$cookie

Provides read/write access to browser’s cookies

$eventBus

Application-wide event bus service

$exceptionHandler

Error handling service

$http

HTTP client service

$interpolate

Compile interpolation text into reusable expression functions.

$location

Normalize and update browser URLs across HTML5 and hashbang modes.

$log

Logging service

$machine

Reactive state machines with declarative transitions

$parse

URL normalization for HTML5/hashbang modes

$rest

Typed REST resource client

$rootElement

URL normalization for HTML5/hashbang modes

$rootScope

Root scope service

$security

Cross-cutting security policy gate for navigation and request-sensitive operations.

$serviceWorker

Service worker lifecycle, update, and message facade

$templateCache

Map object for storing templates

$templateRequest

Template request service

$url

URL management for state transitions

Binding policies

Destination-specific HTML, URL, and script binding policies

Workflow

Declarative asynchronous operation lifecycles with reactive state, cancellation, diagnostics, snapshots, and recovery.