kei kei - 7 months ago 54
Javascript Question

AngularJS filtering on ngRepeat on items without key

My array looks like this:


I'm trying to get it to display all the people that don't have the
Terry, Sam, and Andy

Here's what I have so far:

<span ng-repeat="user in Users | filter: {?????}">

How do I set up this filter? Can this be done without using a custom filter?

<span ng-repeat="user in Users | filter:filterOutNonManagers">

$scope.filterOutNonManagers = function(user) {
    return !user.IsManager;