最近的文章列表

angularjs的ng-repeat循环列表中序号怎么写?($index)

一个列表循环,序号标识是常见的,c#语言如何实现,我们知道,C# repeater控件里添加序号的4种方法。那么在js框架angularjs里使用ng-repeat怎么实现添加序号呢?
直接上代码,一看就懂了:

<table class="table table-bordered mt20 table-td-center">
    <thead>
        <tr>
           <th>序号</th>
2014/9/12 Comments: