ng-repeat dynamic filter

Static code below:

 

Now wants the value indicated by the arrows, to a dynamic.

Depending on the conditions, it will likely be 1, 2 or 3 or 5 or the like.

 

Guess you like

Origin www.cnblogs.com/insus/p/12612024.html