I am trying to create a select element that has a list of numbers 1 to pages where pages is a variable that is the number of pages I have. What i don\'t know how to do is to
another approach without a for loop is this:
controller:
$scope.arr = []; $scope.arr.length = count;
view binding:
ng-options="arr.indexof(i) for i in arr"