2021-01-07
javascript – Way to ng-repeat defined number of times instead of repeating over array?

The Question : 425 people think this question is useful Is there a way to ng-repeat a defined number of times instead of always having to iterate over an array? For example, below I want the list item to show up 5 times assuming $scope.number equal to 5 in addition incrementing the number so each