ngModel.NgModelController.$asyncValidators

$asyncValidators Object.<string, function> A collection of validations that are expected to perform an asynchronous validation (e.g. a HTTP request). The validation function that is provided is expected to return a promise when it is run during the model validation process. Once the promise is delivered then the validation status will be set to true when fulfilled and false when rejected. When the asynchronous validators are triggered, each of the validators will run in parallel and the

$sce.trustAsResourceUrl()

trustAsResourceUrl(value); Shorthand method. $sce.trustAsResourceUrl(value) â $sceDelegate.trustAs($sce.RESOURCE_URL, value) Parameters Param Type Details value * The value to trustAs. Returns * An object that can be passed to $sce.getTrustedResourceUrl(value) to obtain the original value. (privileged directives only accept expressions that are either literal constants or are the return value of $sce.trustAs.)

ngController

directive in module ng The ngController directive attaches a controller class to the view. This is a key aspect of how angular supports the principles behind the Model-View-Controller design pattern. MVC components in angular: Model â Models are the properties of a scope; scopes are attached to the DOM where scope properties are accessed through bindings. View â The template (HTML with data bindings) that is rendered into the View. Controller â The ngController directive specifies a Contro

$location.search()

search(search, [paramValue]); This method is getter / setter. Return search part (as object) of current url when called without any parameter. Change search part when called with parameter and return $location. // given url http://example.com/#/some/path?foo=bar&baz=xoxo var searchObject = $location.search(); // => {foo: 'bar', baz: 'xoxo'} // set foo to 'yipee' $location.search('foo', 'yipee'); // $location.search() => {foo: 'yipee', baz: 'xoxo'} Parameters Param Type Details se

ngModel.NgModelController.$pending

$pending Object An object hash with all pending validator ids as keys.

$http.pendingRequests

pendingRequests Array.<Object> Array of config objects for currently pending requests. This is primarily meant to be used for debugging purposes.

angular.equals

function in module ng Determines if two objects or two values are equivalent. Supports value types, regular expressions, arrays and objects. Two objects or values are considered equivalent if at least one of the following is true: Both objects or values pass === comparison. Both objects or values are of the same type and all of their properties are equal by comparing them with angular.equals. Both values are NaN. (In JavaScript, NaN == NaN => false. But we consider two NaN as equal) Bot

$rootScope.Scope.$watchGroup()

$watchGroup(watchExpressions, listener); A variant of $watch() where it watches an array of watchExpressions. If any one expression in the collection changes the listener is executed. The items in the watchExpressions array are observed via standard $watch operation and are examined on every call to $digest() to see if any items changes. The listener is called whenever any expression in the watchExpressions array changes. Parameters Param Type Details watchExpressions Array.<string|Func

$animate.leave()

leave(element, [options]); Triggers an animation and then removes the element from the DOM. When the function is called 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 removed from the DOM options (optional) object an optional collection of options/styles that will be applied to the element Returns Promise the animation callback promise

$httpParamSerializer

service in module ng Default $http params serializer that converts objects to strings according to the following rules: {'foo': 'bar'} results in foo=bar {'foo': Date.now()} results in foo=2015-04-01T09%3A50%3A49.262Z (toISOString() and encoded representation of a Date object) {'foo': ['bar', 'baz']} results in foo=bar&foo=baz (repeated key for each array element) {'foo': {'bar':'baz'}} results in foo=%7B%22bar%22%3A%22baz%22%7D" (stringified and encoded representation of an objec