After ng-repeat is filtered by a certain condition, how can we get the data length after being filtered by this condition? ? ?
给我你的怀抱2017-05-15 17:00:42
Rough method: {{(list | filter : f).length}}
,最好不要这样用,最好在controller
先filter
Yeah
曾经蜡笔没有小新2017-05-15 17:00:42
http://stackoverflow.com/questions/21379426/angular-get-length-of-filtered-ng-repeat