ngTouch.directive

Name Description ngClick DEPRECATION NOTICE: Beginning with Angular 1.5, this directive is deprecated and by default disabled. The directive will receive no further support and might be removed from future releases. If you need the directive, you can enable it with the $touchProvider#ngClickOverrideEnabled function. We also recommend that you migrate to FastClick. To learn more about the 300ms delay, this Telerik article gives a good overview. A more powerful replacement for the default ngC

ngModel.NgModelController.$validate()

$validate(); Runs each of the registered validators (first synchronous validators and then asynchronous validators). If the validity changes to invalid, the model will be set to undefined, unless ngModelOptions.allowInvalid is true. If the validity changes to valid, it will set the model to the last available valid $modelValue, i.e. either the last parsed value or the last value set from the scope.

ngOpen

directive in module ng Sets the open attribute on the element, if the expression inside ngOpen is truthy. A special directive is necessary because we cannot use interpolation inside the open attribute. See the interpolation guide for more info. Directive Info This directive executes at priority level 100. Usage as attribute: <DETAILS ng-open="expression"> ... </DETAILS> Arguments Param Type Details ngOpen expression If the expression is truthy, then special attribut

$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

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

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

ngMouseup

directive in module ng Specify custom behavior on mouseup event. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-mouseup="expression"> ... </ANY> Arguments Param Type Details ngMouseup expression Expression to evaluate upon mouseup. (Event object is available as $event)

ngValue

directive in module ng Binds the given expression to the value of <option> or input[radio], so that when the element is selected, the ngModel of that element is set to the bound value. ngValue is useful when dynamically generating lists of radio buttons using ngRepeat, as shown below. Likewise, ngValue can be used to generate <option> elements for the select element. In that case however, only strings are supported for the valueattribute, so the resulting ngModel will always be

ngAnimate.$animate

service in module ngAnimate The ngAnimate $animate service documentation is the same for the core $animate service. Click here to learn more about animations with $animate.