angular.js - angular for loop output label
阿神
阿神 2017-05-15 16:56:08
0
3
616

How to use angular to dynamically output $scope.total number of tags.
When $scope.total = 10, there are 10 p tags
When $scope.total = 20, there are 20 p tags

阿神
阿神

闭关修行中......

reply all(3)
某草草

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

Peter_Zhu

angular provides ng-repeat, just use it directly

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template