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
閉關(guān)修行中......
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