ngRoute.$routeProvider.when()

when(path, route); Adds a new route definition to the $route service. Parameters Param Type Details path string Route path (matched against $location.path). If $location.path contains redundant trailing slash or is missing one, the route will still match and the $location.path will be updated to add or drop the trailing slash to exactly match the route definition. path can contain named groups starting with a colon: e.g. :name. All characters up to the next slash are matched and stored

$animateProvider

$animate provider in module ng Default implementation of $animate that doesn't perform any animations, instead just synchronously performs DOM updates and resolves the returned runner promise. In order to enable animations the ngAnimate module has to be loaded. To see the functional implementation check out src/ngAnimate/animate.js. Methods register(name, factory); Registers a new injectable animation factory function. The factory function produces the animation object which contains

form.FormController.$setValidity()

$setValidity(); Sets the validity of a form control. This method will also propagate to parent forms.

ngMock.$log.debug.logs

debug.logs Array of messages logged using debug().

ngBindHtml

directive in module ng Evaluates the expression and inserts the resulting HTML into the element in a secure way. By default, the resulting HTML content will be sanitized using the $sanitize service. To utilize this functionality, ensure that $sanitize is available, for example, by including ngSanitize in your module's dependencies (not in core Angular). In order to use ngSanitize in your module's dependencies, you need to include "angular-sanitize.js" in your application. You may also bypa

$compileProvider.component()

component(name, options); Register a component definition with the compiler. This is a shorthand for registering a special type of directive, which represents a self-contained UI component in your application. Such components are always isolated (i.e. scope: {}) and are always restricted to elements (i.e. restrict: 'E'). Component definitions are very simple and do not require as much configuration as defining general directives. Component definitions usually consist only of a template and a c

angular.Module.filter()

filter(name, filterFactory); See $filterProvider.register(). Note: Filter names must be valid angular Expressions identifiers, such as uppercase or orderBy. Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace your filters, then you can use capitalization (myappSubsectionFilterx) or underscores (myapp_subsection_filterx). Parameters Param Type Details name string Filter name - this must be a valid angular expression identifier filterFacto

$sceDelegate

$sceDelegateProvider service in module ng $sceDelegate is a service that is used by the $sce service to provide Strict Contextual Escaping (SCE) services to AngularJS. Typically, you would configure or override the $sceDelegate instead of the $sce service to customize the way Strict Contextual Escaping works in AngularJS. This is because, while the $sce provides numerous shorthand methods, etc., you really only need to override 3 core functions (trustAs, getTrusted and valueOf) to replac

ngAria.$ariaProvider.config()

config(config); Enables/disables various ARIA attributes Parameters Param Type Details config object object to enable/disable specific ARIA attributes ariaHidden â {boolean} â Enables/disables aria-hidden tags ariaChecked â {boolean} â Enables/disables aria-checked tags ariaDisabled â {boolean} â Enables/disables aria-disabled tags ariaRequired â {boolean} â Enables/disables aria-required tags ariaInvalid â {boolean} â Enables/disables aria-invalid tags

$rootScope

$rootScopeProvider service in module ng Every application has a single root scope. All other scopes are descendant scopes of the root scope. Scopes provide separation between the model and the view, via a mechanism for watching the model for changes. They also provide event emission/broadcast and subscription facility. See the developer guide on scopes.