5
I’m trying to create a series of repeated elements without knowing the amount of repetitions that will be needed. I have an input in which the user will report a numerical value above or equal to 1 that will reflect on the amount of repetitions required.
<input type="text" ng-model="numeroRepeticoes">
The only repeat command I know is ng-repeat (my knowledge in Angular is not very broad) but in this case it is not suitable. Something like this wouldn’t work:
<div ng-repeat="{{ numeroRepeticoes }}">...</div>