0
我想在我的對象的結果數組過濾器陣列代理的過濾器在Angularjs對象有數組
[
{
"id": 1,
"queue_id": 15,
"agent_id": 3,
"level": 0,
"position": 0,
"created_at": "2017-05-29T17:45:08.000Z",
"updated_at": "2017-05-29T17:45:08.000Z",
"callcenter_agent": {
"id": 3,
"name": "1254",
"type": "1",
"status": null,
"max_no_answer": 0,
"wrap_up_time": 5,
"reject_delay_time": 5,
"busy_delay_time": 5,
"no_answer_delay_time": 5,
"user_number_id": 35,
"created_at": "2017-05-29T17:30:14.000Z",
"updated_at": "2017-05-29T17:30:14.000Z"
}
},
{
"id": 2,
"queue_id": 15,
"agent_id": 4,
"level": 0,
"position": 0,
"created_at": "2017-05-29T17:45:24.000Z",
"updated_at": "2017-05-29T17:45:24.000Z",
"callcenter_agent": {
"id": 4,
"name": "3658",
"type": "1",
"status": null,
"max_no_answer": 0,
"wrap_up_time": 5,
"reject_delay_time": 5,
"busy_delay_time": 5,
"no_answer_delay_time": 5,
"user_number_id": 36,
"created_at": "2017-05-29T17:30:27.000Z",
"updated_at": "2017-05-29T17:30:27.000Z"
}
}
];
我要創建的過濾callcenter_agent.name與角度濾波器 我的HTML代碼
<li ng-click="selectagents(x)" ng-repeat="x in agents | filter:
{callcenter_agent.name : checkagents } ">
<a ng-bind="x.callcenter_agent.name"> </a>
</li>
但它是錯誤的我如何在callcenter_agents中過濾名稱?
我想要寫的VoIP
坦克你的過濾器非常 – majid