filter in ng-repeat by values?
问题 I would like to filter an ng-repeat by a key that has 4 values(1-4) using uib-tabs. Is there a way to do this inline with ng-model on the tab elements? If so, what is the format? For instance, I have an ng-repeat like this: <div ng-repeat="item in reportsData">{{item.name}} - {{item.packageID}}</div> and in my reportsData array I have ..."packageID": 1,... Where packageID can be of a value between 1 and 4. The trick is that I want to setup something along the lines of item.packageID >=1 How