Now solved Plunker: http://plnkr.co/edit/oimkGE83UgPX22E7NXl2?p=preview
When you have objects nested like this:
$scope.customer = {
roomsclean1: {
"price": 27,
"title": "Room(s) to clean",
"area": "6"
},
roomsprotect1: {
"price": 62,
"title": "Room(s) to protect",
"area": "0"
}
}
What is the best way to iterate over each item and return each proptery them by weather or not the nested key area is not zero?
obviously something like {{customer | filter:{area : "!0"} }} didn't work.