$compile.directive.Attributes

type in module ng A shared object between directive compile / linking functions which contains normalized DOM element attributes. The values reflect current binding state {{ }}. The normalization is needed since all of these are treated as equivalent in Angular: <span ng:bind="a" ng-bind="a" data-ng-bind="a" x-ng-bind="a"> Methods $normalize(name); Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with x- or data-) to its normalized, ca

ngMock.$httpBackend.expectPATCH()

expectPATCH(url, [data], [headers], [keys]); Creates a new request expectation for PATCH requests. For more info see expect(). Parameters Param Type Details url stringRegExpfunction(string) HTTP url or function that receives a url and returns true if the url matches the current definition. data (optional) stringRegExpfunction(string)Object HTTP request body or function that receives data string and returns true if the data is as expected, or Object if request body is in JSON format

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

ngDisabled

directive in module ng This directive sets the disabled attribute on the element if the expression inside ngDisabled evaluates to truthy. A special directive is necessary because we cannot use interpolation inside the disabled attribute. See the interpolation guide for more info. Directive Info This directive executes at priority level 100. Usage as attribute: <INPUT ng-disabled="expression"> ... </INPUT> Arguments Param Type Details ngDisabled expression If the exp

ngMock.$animate.closeAndFlush()

closeAndFlush(); This method will close all pending animations (both Javascript and CSS) and it will also flush any remaining animation frames and/or callbacks.

angular.Module.run()

run(initializationFn); Use this method to register work which should be performed when the injector is done loading all modules. Parameters Param Type Details initializationFn Function Execute this function after injector creation. Useful for application initialization.

ngMessageFormat.$$messageFormat

service in module ngMessageFormat 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

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

ngMessages

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