ngClassEven

directive in module ng The ngClassOdd and ngClassEven directives work exactly as ngClass, except they work in conjunction with ngRepeat and take effect only on odd (even) rows. This directive can be applied only within the scope of an ngRepeat. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-class-even="expression"> ... </ANY> as CSS class: <ANY class="ng-class-even: expression;"> ... </ANY> Arguments Param Type Detail

ngClass

directive in module ng The ngClass directive allows you to dynamically set CSS classes on an HTML element by databinding an expression that represents all classes to be added. The directive operates in three different ways, depending on which of three types the expression evaluates to: If the expression evaluates to a string, the string should be one or more space-delimited class names. If the expression evaluates to an object, then for each key-value pair of the object with a truthy va

ngChecked

directive in module ng Sets the checked attribute on the element, if the expression inside ngChecked is truthy. Note that this directive should not be used together with ngModel, as this can lead to unexpected behavior. A special directive is necessary because we cannot use interpolation inside the checked attribute. See the interpolation guide for more info. Directive Info This directive executes at priority level 100. Usage as attribute: <INPUT ng-checked="expression"> ... <

ngBlur

directive in module ng Specify custom behavior on blur event. A blur event fires when an element has lost focus. Note: As the blur event is executed synchronously also during DOM manipulations (e.g. removing a focussed input), AngularJS executes the expression using scope.$evalAsync if the event is fired during an $apply to ensure a consistent state. Directive Info This directive executes at priority level 0. Usage as attribute: <window, input, select, textarea, a ng-blur="expressi

ngChange

directive in module ng Evaluate the given expression when the user changes the input. The expression is evaluated immediately, unlike the JavaScript onchange event which only triggers at the end of a change (usually, when the user leaves the form element or presses the return key). The ngChange expression is only evaluated when a change in the input value causes a new value to be committed to the model. It will not be evaluated: if the value returned from the $parsers transformation pipeli

ngBindTemplate

directive in module ng The ngBindTemplate directive specifies that the element text content should be replaced with the interpolation of the template in the ngBindTemplate attribute. Unlike ngBind, the ngBindTemplate can contain multiple {{ }} expressions. This directive is needed since some HTML elements (such as TITLE and OPTION) cannot contain SPAN elements. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-bind-template="string"> ... <

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

ngAria.$ariaProvider

$aria provider in module ngAria Used for configuring the ARIA attributes injected and managed by ngAria. angular.module('myApp', ['ngAria'], function config($ariaProvider) { $ariaProvider.config({ ariaValue: true, tabindex: false }); }); Dependencies Requires the ngAria module to be installed. Methods config(config); Enables/disables various ARIA attributes Parameters Param Type Details config object object to enable/disable specific ARIA attributes ariaHidden รข {

ngAria.provider

Name Description $ariaProvider Used for configuring the ARIA attributes injected and managed by ngAria.

ngAria.$aria

$ariaProvider service in module ngAria