标签:
1.带ng-repeat的标签 会重复这个标签及其内部的内容,直至x循环完
比如
<tr ng-repeat="x in names | orderBy : ‘Name‘"> <td>{{ $index + 1 }}</td> <td>{{ x.Name }}</td> <td>{{ x.Country }}</td> </tr>
循环出来是X个
<tr ng-repeat="x in names | orderBy : ‘Name‘" class="ng-scope"> <td class="ng-binding">1</td> <td class="ng-binding">Alfreds Futterkiste</td> <td class="ng-binding">Germany</td> </tr>
标签:
原文地址:http://www.cnblogs.com/xisitan/p/4882009.html