Have a simple CRUD app. Use $resource.
object
{
name: 'name',
url: 'some.api.com/api/customer/12334723847892347qw89e798/'
}
Query get all objects,
customersList = customersService.customerResource.query();
and i make select from this list
<select name=""
ng-options="item.name for item in customersList track by item.url"
ng-model="project.customer">
</select>
but then i send from, have error, API need url string from selected object in project.customer. But this select send object (dictionary).
How tell angular get only url porp?