阅读背景:

如何手动调用自定义过滤器?

来源:互联网 
<div "ng-repeat="phone in phoneList| filter:filterPrice">



//custome filter
 $scope.filterPrice = function (phone) {
        return (phone.price > MIN_VAL && phone.price < MAX_VAL);};
<div "ng-repeat="phone in phoneList| filter:fil



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: