ng-repeat被某个条件过滤之后,怎么能得到被这个条件过滤之后的数据长度???
대략적인 방법: {{(list | filter : f).length}},最好不要这样用,最好在controller先filter예
{{(list | filter : f).length}}
controller
filter
http://stackoverflow.com/questions/21379426/angular-get-length-of-filtered-ng-repeat
대략적인 방법:
{{(list | filter : f).length}}
,最好不要这样用,最好在controller
先filter
예http://stackoverflow.com/questions/21379426/angular-get-length-of-filtered-ng-repeat