<ul class="pagination" ng-init="activePage=1">
<li ng-class="{ 'active': activePage==p, 'none': activePage!=p }" ng-repeat="p in [0,1,2]">
<a ng-click="activePage=p">{{ (p*10)+1}} - {{ (p*10)+9 }}</a>
</li>
</ul>
我很好奇这个if语句是否会永远返回