Angularjs ng选项发送措辞而不是字符串

Angularjs ng选项发送措辞而不是字符串,angularjs,Angularjs,有一个简单的CRUD应用程序。使用$resource 反对 { name: 'name', url: 'some.api.com/api/customer/12334723847892347qw89e798/' } 查询获取所有对象 CustomerList=CustomerService.customerResource.query 我从这个列表中进行选择 <select name="" ng-options="item.name for item i

有一个简单的CRUD应用程序。使用$resource

反对

{
    name: 'name',
    url: 'some.api.com/api/customer/12334723847892347qw89e798/'
}
查询获取所有对象

CustomerList=CustomerService.customerResource.query

我从这个列表中进行选择

<select name="" 
        ng-options="item.name for item in customersList track by item.url" 
        ng-model="project.customer">
</select>
但我发送自,有错误,API需要project.customer中所选对象的url字符串。但这是选择发送对象字典


如何仅获取url porp?

item.url作为CustomerList中项目的item.name。签出官方文档。我尝试阅读并使用以下代码:item.url作为controller.customersList track by item.url中的item.name,但DOM中的第一个元素为空。