ngMock.service

Name Description $exceptionHandler Mock implementation of $exceptionHandler that rethrows or logs errors passed to it. See $exceptionHandlerProvider for configuration information. $log Mock implementation of $log that gathers all logged messages in arrays (one array per logging level). These arrays are exposed as logs property of each of the level-specific log function, e.g. for level error the array is exposed as $log.error.logs. $interval Mock implementation of the $interval service. $a

ngAria.provider

Name Description $ariaProvider Used for configuring the ARIA attributes injected and managed by ngAria.

ngTouch

Installation First include angular-touch.js in your HTML: <script src="angular.js"> <script src="angular-touch.js"> You can download this file from the following places: Google CDN e.g. //ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/angular-touch.js Bower e.g. bower install angular-touch@X.Y.Z code.angularjs.org e.g. "//code.angularjs.org/X.Y.Z/angular-touch.js" where X.Y.Z is the AngularJS version you are running. Then load the module in your application by adding it as a

ngRoute.$route.routes

routes Object Object with all route configuration Objects as its properties.

ngModel.NgModelController.$untouched

$untouched boolean True if control has not lost focus yet.

$rootScope.Scope.$watch()

$watch(watchExpression, listener, [objectEquality]); Registers a listener callback to be executed whenever the watchExpression changes. The watchExpression is called on every call to $digest() and should return the value that will be watched. (watchExpression should not change its value when executed multiple times with the same input because it may be executed multiple times by $digest(). That is, watchExpression should be idempotent. The listener is called only when the value from the curren

$animate.cancel()

cancel(animationPromise); Cancels the provided animation. Parameters Param Type Details animationPromise Promise The animation promise that is returned when an animation is started.

auto.$injector.has()

has(name); Allows the user to query if the particular service exists. Parameters Param Type Details name string Name of the service to query. Returns boolean true if injector has given service.

angular.Module

type in module ng Interface for configuring angular modules. Methods provider(name, providerType); See $provide.provider(). Parameters Param Type Details name string service name providerType Function Construction function for creating new instance of the service. factory(name, providerFunction); See $provide.factory(). Parameters Param Type Details name string service name providerFunction Function Function for creating new instance of the service. servi

form.FormController.$invalid

$invalid boolean True if at least one containing control or form is invalid.