Skip to content

Instantly share code, notes, and snippets.

@nicolae-olariu
Created March 13, 2015 13:56
Show Gist options
  • Save nicolae-olariu/e5fc4d7a353f256cba18 to your computer and use it in GitHub Desktop.
Save nicolae-olariu/e5fc4d7a353f256cba18 to your computer and use it in GitHub Desktop.
AngularJS iterate a finite number of times (10 times in this sample)
<div ng-app>
<div ng-repeat="n in [].constructor(10)">{{$index}}</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment