How can I use ng-repeat like for in Javascript?
example:
Text
I want to iterate wit
To repeat 7 times, try to use a an array with length=7, then track it by $index:
b=[]create an empty Array «b»,
.length=7set it's size to «7»,
&&blet the new Array «b» be available to ng-repeat,
track by $indexwhere «$index» is the position of iteration.
ng-bind="$index + 1"display starting at 1.
To repeat X times:
just replace 7 by X.