Say for example I have the following code (pseudo):
<div ng-repeat=range>{{ $index }}</div>
The result would be
1 2 3 4 5 6 ...
How could I go about changing the code above so that the indexes are printed
001 002 003 004 005 006? (so that the index is printed as 3 digits)