Angular directive used to repeat an HTML element n times.
via Bower: bower install angular-repeat-n
Load the angular-repeat-n
module in your app or controller.
Repeat any element:
<span ng-repeat-n="4">{{$index}}</span>
--> "1234"
<div ng-repeat-n="repeatNumTimes"></div>
will repeat for the value of $scope.repeatNumTimes
Fork & submit a pull request if there's something I missed!
gulp test
to testgulp build
to build