Angular does provide some support for a for loop using numbers within its HTML directives:
do something <
Without any change in your controller, you can use this:
ng-repeat="_ in ((_ = []) && (_.length=51) && _) track by $index"
Enjoy!