I need a for
loop inside AngularJS. I have $scope.num=4;
I need something like this:
for(i=0 ; i<=num; i++){
<td> </td>
}
Please help me to do this in AngularJS.
I have tried ng-repeat
, but I can't get what I need.
I need a for
loop inside AngularJS. I have $scope.num=4;
I need something like this:
for(i=0 ; i<=num; i++){
<td> </td>
}
Please help me to do this in AngularJS.
I have tried ng-repeat
, but I can't get what I need.