xufei / ng-control

想用自己的方式做控件
http://xufei.github.io/ng-control/index.html
143 stars 21 forks source link

Update pager.js #1

Closed senola closed 10 years ago

senola commented 10 years ago

78行应该改成:$scope.$emit("sn.controls.pager:pageIndexChanged", $scope.pages[$scope.currentPage - $scope.pageOffset]); 不然超过listSize值的时候会提示pageIndex undefined

xufei commented 10 years ago

fixed