我正在使用ng-repeate,並且在我的過濾器中,我需要使用無法由內部選擇過濾器引用的上邊界列表中的一個字段,所以我需要設置在HTML塊過濾器,而不是在js文件.somthing這樣的:如何在ng-repeat中添加兩個過濾條件或條件Angular JS
<div ng-repeat="groupfield in gCtrl.groupingFields">
<select ng-options="c.id as c.title for c in gCtrl.columnList | filter : {available:true } || {id:groupfield.fieldName}">
</select></div>
看到這一點:http://stackoverflow.com/questions/21411686/how-to-filter-multiple-values-or-operation-in-angularjs-with-checkbox – Jenny
這不禁引起我需要訪問groupField項目 –
post groupfields data – Jenny