Use
<p id="goodlist"> <p ng-repeat="good in goods">{{good}}</p> </p>
After the data cycle is completed, I use js to obtain the height of p, but the obtained value is always wrong. How to solve it?
Put the code for getting p height inside $timeout() and try it
http://stackoverflow.com/questions/13471129/ng-repeat-finish-event
Put the code for getting p height inside $timeout() and try it
http://stackoverflow.com/questions/13471129/ng-repeat-finish-event