AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng class even Directive

AngularJS ng-class-even Directive

 

 

The ng-class-even directive is used to dynamically bind one or more CSS classes to an HTML element. It will have an effect on every even appearance of the HTML element. It will only work if it is used together with the ng-repeat directive.

 

Syntax:-

 

< element ng-class-even="expression" >< /element >

 

Further Explanation:-

 

Value Description
expression An expression that returns one or more class names.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS