form.FormController.$removeControl()

$removeControl(control); Deregister a control from the form. Input elements using ngModelController do this automatically when they are destroyed. Note that only the removed control's validation state ($errorsetc.) will be removed from the form. $dirty, $submitted states will not be changed, because the expected behavior can be different from case to case. For example, removing the only $dirty control from a form may or may not mean that the form is still $dirty. Parameters Param Type Details

Guide: Controllers

In Angular, a Controller is defined by a JavaScript constructor function that is used to augment the Angular Scope. When a Controller is attached to the DOM via the ng-controller directive, Angular will instantiate a new Controller object, using the specified Controller's constructor function. A new child scope will be created and made available as an injectable parameter to the Controller's constructor function as $scope. If the controller has been attached using the controller as syntax then

ngMock.$log.warn.logs

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

$sceDelegateProvider

$sceDelegate provider in module ng The $sceDelegateProvider provider allows developers to configure the $sceDelegate service. This allows one to get/set the whitelists and blacklists used to ensure that the URLs used for sourcing Angular templates are safe. Refer $sceDelegateProvider.resourceUrlWhitelist and $sceDelegateProvider.resourceUrlBlacklist For the general details about this service in Angular, read the main page for Strict Contextual Escaping (SCE). Example: Consider the follow

ngTouch.provider

Name Description $touchProvider The $touchProvider allows enabling / disabling ngTouch's ngClick directive.

$log.debug()

debug(); Write a debug message

ng.object

Name Description angular.version An object that contains information about the current AngularJS version.

form.FormController.$setPristine()

$setPristine(); Sets the form to its pristine state. This method can be called to remove the 'ng-dirty' class and set the form to its pristine state (ng-pristine class). This method will also propagate to all the controls contained in this form. Setting a form back to a pristine state is often useful when we want to 'reuse' a form after saving or resetting it.

a

directive in module ng Modifies the default behavior of the html A tag so that the default action is prevented when the href attribute is empty. This change permits the easy creation of action links with the ngClick directive without changing the location or causing page reloads, e.g.: <a href="" ng-click="list.addItem()">Add Item</a> Directive Info This directive executes at priority level 0. Usage as element: <a> ... </a>

$rootScope.Scope.$root

$root Reference to the root scope.