I have an array of operators like this:
[
{
"id":1,
"key":"55330",
"name":"Macie",
"operative_status":{
"id":20,
"code":"100",
"name_status":"viaje",
"created_at":"2016-08-03T21:28:52Z"
}
},
{
"id":2,
"key":"8439",
"name":"Darian",
"operative_status":null
},
{
"id":3,
"key":"49531",
"name":"Kaelyn",
"operative_status":null
}
]
And I want to display them using an ng-repeat:
<div ng-repeat="operator in operators | filter:{ operative_status : {name_status: status}}">
As you can see, I want to filter by status.
The problem is that it doesn't show the operators that have the operative_status with null.
name_status?