首页 > ng-repeat过滤之后的$index值不匹配?

ng-repeat过滤之后的$index值不匹配?

ng-repeat被某个条件过滤之后,怎么能得到被这个条件过滤之后的数据长度???


粗暴的方法:{{(list | filter : f).length}},最好不要这样用,最好在controllerfilter


http://stackoverflow.com/questions/21379426/angular-get-length-of-filtered-ng-repeat

【热门文章】
【热门文章】