How to use angular to dynamically output $scope.total number of tags. When $scope.total = 10, there are 10 p tagsWhen $scope.total = 20, there are 20 p tags
闭关修行中......
You can refer to this question and generate an array yourself for ng-repeat to use
<p ng-repeat="item in total"></p>Isn’t this just a p in total
angular provides ng-repeat, just use it directly
ng-repeat
You can refer to this question and generate an array yourself for ng-repeat to use
<p ng-repeat="item in total"></p>
Isn’t this just a p in total
angular provides
ng-repeat
, just use it directly