After some mess, this is the solution. See plunkr for a working example. I think this should do the trick:
Template:
<ion-checkbox ng-repeat="user in users | filter: excludeMembers:group.members" ng-model="user.checked">{{user.info.name}}</ion-checkbox>
Angular filter:
app.filter('excludeMembers', function(){ return function(users, members){ return users.filter(function(user){ return members.indexOf(user.id) === -1; }); } })
Long explanation
The filter takes an array into which you filter as the first parameter, by default, and then with a colon (:), you can provide optional arguments, in your case: group. The filter should return the function that will be launched. The return value must be a filtered array. We also use the built-in javascript filter (confusing, whoa) function to validate a group array.
source share