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
I ran into the same issue. I came across this thread, but didn't like the methods they had here. My solution was using underscore.js, which we had already installed. It's as simple as this:
{{n}}
This will do exactly what you're looking for.