Reputation: 4753
I want to do ng-repeat on an array of objects. I want to the object with color property not equals to "black" to display. How would I do it?
Upvotes: 0
Views: 40
Reputation: 28750
Next time... show a little bit of work:
<div data-ng-repeat="thing in stuff | filter:{'color': '!black'}">
{{ thing}}
</div>
JSFiddle with example: http://jsfiddle.net/muwgsxbw/
Upvotes: 3