Angular does provide some support for a for loop using numbers within its HTML directives:
do something <
Using UnderscoreJS:
angular.module('myModule') .run(['$rootScope', function($rootScope) { $rootScope.range = _.range; }]);
Applying this to $rootScope makes it available everywhere:
$rootScope
{{x}}