Newer versions of AngularJS (>= 1.3.0) allow you to do this with only a variable (no function needed): <li ng-repeat="x in [].constructor(number) track by ...
確定! 回上一頁