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

ngClick

directive in module ng The ngClick directive allows you to specify custom behavior when an element is clicked. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-click="expression"> ... </ANY> Arguments Param Type Details ngClick expression Expression to evaluate upon click. (Event object is available as $event)

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

ngMock.angular.mock

object in module ngMock Namespace from 'angular-mocks.js' which contains testing related code.

$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

ngMessageFormat.service

Name Description $$messageFormat Angular internal service to recognize MessageFormat extensions in interpolation expressions. For more information, see: https://docs.google.com/a/google.com/document/d/1pbtW2yvtmFBikfRrJd8VAsabiFkKezmYZ_PbgdjQOVU/edit

$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.

form.FormController.$pending

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

ngModel.NgModelController.$dirty

$dirty boolean True if user has already interacted with the control.

ngSanitize.service

Name Description $sanitize Sanitizes an html string by stripping all potentially dangerous tokens.