AngularJS Service Reference

Learn how to use AngularJS Services as 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.

Table: AngularJS - Service Reference

ServicesDescriptionLive Demo
$cookiesThis service is useful to write, read and delete browser cookies.Try Now
$windowThis service is similar to reference to the browser's window object.Try Now
$filterThis service is used for formatting data displayed to the user.Try Now
$documentThis service is wrapper for the browser's window.document object.Try Now
$locationThis service is similar to window.location object and exposes the current URL in the browser address bar.Try Now
$logThis service is useful to write error, info, warning and debugging into the browser's console.Try Now
$parseThis service is useful to convert AngularJS expression into a function.Try Now
$rootElementThis service is useful to access root element.Try Now
$exceptionHandlerThis 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
$timeoutThis service is just wrapper for window.setTimeout function so that it will be easy to override, remove or mocked for testing.Try Now
$intervalThis service is similar to JavaScript's window.setInterval function.Try Now
$cacheFactoryThis service evaluates specified expression when the user changes the input.Try Now
$anchorScrollThis service is useful to set checkbox checked.Try Now

See Also

AngularJS Built-in Filters
AngularJS Built-in Directives
AngularJS Expression
AngularJS Built-in Events
AngularJS Scope Methods
AngularJS Built-in Services
AngularJS Controller Inheritance
AngularJS Custom Directives


SHARE THIS IF YOU LIKE!
submit to reddit

SUBSCRIBE FOR LATEST UPDATES
HAVE WE CONNECTED ON FACEBOOK?
TOP TUTORIALSTOP CODE EXAMPLESTOP LIVE DEMOLINKSSTAY CONNECTED
HTML Tutorial
HTML5 Tutorial
Bootstrap3 Tutorial
Javascript Tutorial
TypeScript Tutorial
AngularJS Tutorial
CSharp Tutorial
PHP Tutorial
Developer Tools
Javascript
AngularJS
Google MAP API V3
ASP.NET
Javascript
AngularJS
Google MAP API V3
Contact Us
Advertise with Us
Privacy Policy
Disclaimer
Stay connected. We actually like you. If you want to get up to the minute updates, then connect with us on your fav below.
 
Twitter   Linkedin   Facebook   Google+    RSS   Pinterest
 
Protected by Copyscape Original Content Checker
 
 
Copyright ©2017 www.techstrikers.com Unauthorized reproduction/replication of any part of this site is prohibited.