Is there a way to ng-repeat a defined number of times instead of always having to iterate over an array?
ng-repeat
For example, below I want the list item to show
You can use the ng-if directive with ng-repeat
ng-if
So, if num is the number of times you need the element repeated: