Reputation: 1630
I want to create a filter that hides e.g. three certain IDs given.
My data object look like that:
$scope.subtree = [{id: 1},{id: 2},{id: 3},{id: 4},{id: 5},{id: 6},{id: 6}]
I get the command to hide:
[{id: 1},{id: 4},{id: 6}]
Template
<ul>
<li ng-repeat="node in subtree">
<p>node.id </p>
</li>
<ul>
Upvotes: 0
Views: 83