Angularjs Examples

AJS Examples


AngularJS How to Add Index Column in Table

In this AngularJS example you will learn how to add index column in table using $index. In this example you will learn how to use $index with ng-repeat directive to display index column 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 How to add index column in table data