JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app='myApp' ng-controller="Main">
<li ng-repeat="n in [] | range:3:6">test{{n}}</li>
</div>
JavaScript
var myApp = angular.module('myApp', []);
myApp.filter('range', function() {
return function(input,from,to) {
to = parseInt(to,10);
from = parseInt(from,10);
for (var i=from; i<to; i++){
input.push(i);
console.log(i);
}
return input;
};
});
function Main($scope){
}