Angularjs Examples

AJS Examples


AngularJS Display alternate color in table row

In this AngularJS example you will learn how to display alternate color in table row. In this example you will learn how to ng-class-odd and ng-class-even directive to decorate the even and odd table rows in HTML table.

Here you can view the output of the example and you can also "try it yourself" by clicking on "Try Now" button given at the bottom.

Syntax

AngularJS Display alternate color in table row Example