📜  是否可以在angularjs中过滤多个条件? - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:00.354000             🧑  作者: Mango

代码示例1
You should create a custom filter. By evaluating multiple conditions in one filter it will gain 'performance'.

$scope.filterData = function (item) {
    return (item.SECURITYCLASS === 90 || item.SECURITYCLASS === 93);
}
{{::item}}
//demo http://plnkr.co/edit/aDx3SfXaTqEqrlMxIzgd