Angular - Services


$interval(fn, frequency, repeat) - executes the given function at regular intervals for given(optional) of times or optionally.

$timeout(fn, timeout) - executes the given function after the timeout time expires.



$compile - Compiles an HTML string or DOM into a template and produces a template function, which can then be used to link scope and the template together.

The compilation is a process of walking the DOM tree and matching DOM elements to directives.


$animate


$log

$controller

$rootScope

$cacheFactory( "cacheId" ) - Created and returns the cache Object.

DOM Related


$location

$window

$document

$anchorScroll - Scrolls to the element related to the specified hash

Network

$resource - A very simple use of REST APIs is also available with AngularJS using the  service

$http - connecting to remote servers either through a browser's XMLHttpRequest object or via JSONP

$httpBackend

$q

No comments:

Post a Comment