I was wondering how I can filter an array to show only results if a property in the array is empty. I have tried the following but to no avail:
<tr ng-repeat="performanceOrder in performanceOrders | filter: salesId.length === 0">
I only want to show results if salesId is empty, is this possible?
Edit
salesId is a property of performanceOrder
performanceOrder: {
salesId: "S273626",
status: "Open",
...
}
empty, undefined or other?