Use ranges with ngRepeat

ngRepeat Angular’s ngRepeat directive provides a simple way to iterate over collections to produce HTML dynamically. You probably know it when you have ever worked with lists or arrays in your Angular app:

Drawbacks However, there is a small drawback when working with ngRepeat: You can only iterate over collections of the current scope. […]