angular has its own life cycle. When looping to a variable monitored by angular. It is best to use the loop method that comes with Angular. "angular.foreach"
Format:
The parameters are as follows:
objs: Collection that needs to be traversed
data: current data during traversal
index: current index when traversing
array: The collection that needs to be traversed, objs will be passed as it is every time it is traversed.
You don’t need to write the last two parameters: