ngModel.NgModelController.$setPristine()

$setPristine(); Sets the control to its pristine state. This method can be called to remove the ng-dirty class and set the control to its pristine state (ng-pristine class). A model is considered to be pristine when the control has not been changed from when first compiled.

ngComponentRouter

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

$sce.getTrustedHtml()

getTrustedHtml(value); Shorthand method. $sce.getTrustedHtml(value) â $sceDelegate.getTrusted($sce.HTML, value) Parameters Param Type Details value * The value to pass to $sce.getTrusted. Returns * The return value of $sce.getTrusted($sce.HTML, value)

$animate.enter()

enter(element, parent, [after], [options]); Inserts the element into the DOM either after the after element (if provided) or as the first child within the parent element and then triggers an animation. A promise is returned that will be resolved during the next digest once the animation has completed. Parameters Param Type Details element DOMElement the element which will be inserted into the DOM parent DOMElement the parent element which will append the element as a child (so long

ngMock.$rootScope.Scope

type in module ngMock Scope type decorated with helper methods useful for testing. These methods are automatically available on any Scope instance when ngMock module is loaded. In addition to all the regular Scope methods, the following helper methods are available: Methods $countChildScopes(); Counts all the direct and indirect child scopes of the current scope. The current scope is excluded from the count. The count includes all isolate child scopes. Returns number Total number of

ngStyle

directive in module ng The ngStyle directive allows you to set CSS style on an HTML element conditionally. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-style="expression"> ... </ANY> as CSS class: <ANY class="ng-style: expression;"> ... </ANY> Arguments Param Type Details ngStyle expression Expression which evals to an object whose keys are CSS style names and values are corresponding values for those CSS keys.

$controllerProvider

$controller provider in module ng The $controller service is used by Angular to create new controllers. This provider allows controller registration via the register method. Methods has(name); Parameters Param Type Details name string Controller name to check. register(name, constructor); Parameters Param Type Details name stringObject Controller name, or an object map of controllers where the keys are the names and the values are the constructors. constructor funct

$http.defaults

defaults Runtime equivalent of the $httpProvider.defaults property. Allows configuration of default headers, withCredentials as well as request and response transformations. See "Setting HTTP Headers" and "Transforming Requests and Responses" sections above.

$anchorScrollProvider

$anchorScroll provider in module ng Use $anchorScrollProvider to disable automatic scrolling whenever $location.hash() changes. Methods disableAutoScrolling(); By default, $anchorScroll() will automatically detect changes to $location.hash() and scroll to the element matching the new hash. Use this method to disable automatic scrolling. If automatic scrolling is disabled, one must explicitly call $anchorScroll() in order to scroll to the element related to the current hash.

$anchorScrollProvider.disableAutoScrolling()

disableAutoScrolling(); By default, $anchorScroll() will automatically detect changes to $location.hash() and scroll to the element matching the new hash. Use this method to disable automatic scrolling. If automatic scrolling is disabled, one must explicitly call $anchorScroll() in order to scroll to the element related to the current hash.