ng-repeat被某个条件过滤之后,怎么能得到被这个条件过滤之后的数据长度???
Kaedah kasar: {{(list | filter : f).length}}, sebaiknya jangan pakai begini, sebaiknya controller dahulu filter
{{(list | filter : f).length}}
controller
filter
http://stackoverflow.com/questions/21379426/angular-get-length-of-filtered-ng-repeat
Kaedah kasar:
{{(list | filter : f).length}}
, sebaiknya jangan pakai begini, sebaiknyacontroller
dahulufilter
http://stackoverflow.com/questions/21379426/angular-get-length-of-filtered-ng-repeat