@ngdoc overview @name API Reference @description # AngularJS API Docs
{@link ng#directive Directives} |
This is the core collection of directives you would use in your template code to build an AngularJS application.
Some examples include:
{@link ng.directive:ngClick ngClick},
{@link directive:ngInclude ngInclude},
{@link directive:ngRepeat ngRepeat},
etc… |
{@link ng#service Services / Factories} |
This is the core collection of services which are used within the DI of your application. Some examples include: {@link ng.$compile $compile}, {@link ng.$http $http}, {@link ng.$location $location}, etc…
|
{@link ng#filter Filters} |
The core filters available in the ng module are used to transform template data before it is rendered within directives and expressions. Some examples include: {@link ng.filter:filter filter}, {@link ng.filter:date date}, {@link ng.filter:currency currency}, {@link ng.filter:lowercase lowercase}, {@link ng.filter:uppercase uppercase}, etc... |
{@link ng#function Global APIs} |
The core global API functions are attached to the `angular` object. These core functions are useful for low level JavaScript operations within your application. Some examples include: {@link angular.copy angular.copy()}, {@link angular.equals angular.equals()}, {@link angular.element angular.element()}, etc... |
{@link ngRoute#service Services / Factories} |
The following services are used for route management:
|
{@link ngRoute#directive Directives} | The {@link ngRoute.directive:ngView ngView} directive will display the template of the current route within the page. |
{@link ngAnimate#service Services / Factories} | Use {@link ng.$animate $animate} to trigger animation operations within your directive code. |
{@link ngAnimate CSS-based animations} | Follow ngAnimate’s CSS naming structure to reference CSS transitions / keyframe animations in AngularJS. Once defined, the animation can be triggered by referencing the CSS class within the HTML template code. |
{@link ngAnimate JS-based animations} | Use {@link angular.Module#animation module.animation()} to register a JavaScript animation. Once registered, the animation can be triggered by referencing the CSS class within the HTML template code. |
{@link ngAria#service Services} |
The {@link ngAria.$aria $aria} service contains helper methods for applying ARIA attributes to HTML.
{@link ngAria.$ariaProvider $ariaProvider} is used for configuring ARIA attributes. |
{@link ngResource#service Services / Factories} | The {@link ngResource.$resource $resource} service is used to define RESTful objects which communicate with a REST API. |
{@link ngCookies#service Services / Factories} | The {@link ngCookies.$cookies $cookies} service is a convenient wrapper to store simple data within browser cookies. |
{@link ngTouch#service Services / Factories} | The {@link ngTouch.$swipe $swipe} service is used to register and manage mobile DOM events. |
{@link ngTouch#directive Directives} | Various directives are available in ngTouch to emulate mobile DOM events. |
{@link ngSanitize#service Services / Factories} | The {@link ngSanitize.$sanitize $sanitize} service is used to clean up dangerous HTML code in a quick and convenient way. |
{@link ngSanitize#filter Filters} | The {@link ngSanitize.filter:linky linky filter} is used to turn URLs into HTML links within the provided string. |
{@link ngMock#service Services / Factories} |
ngMock will extend the behavior of various core services to become testing aware and manageable in a synchronous manner.
Some examples include: {@link ngMock.$timeout $timeout}, {@link ngMock.$interval $interval}, {@link ngMock.$log $log}, {@link ngMock.$httpBackend $httpBackend}, etc...
|
{@link ngMock#function Global APIs} |
Various helper functions are available to inject and mock modules within unit test code. Some examples {@link angular.mock.inject inject()}, {@link angular.mock.module module()}, {@link angular.mock.dump dump()}, etc...
|