Angular does provide some support for a for loop using numbers within its HTML directives:
do something <
If you want to achieve this in html without any controller or factory.