Confused using ion-autocomplete

Hi all.
I’m using the ion-autocomplete, one great component from guylabs. ( thank you guys )
I’m quite confused using it.
Here is my code;

input ion-autocomplete type="text"
readonly="readonly"
lass="ion-autocomplete"
autocomplete="off"
ng-model="field"
item-value-key="id"
item-view-value-key="name"
items-method="getThings(query)"
items-method-value-key="items"
items-clicked-method="itemsClicked(callback)"
items-removed-method="itemsRemoved(callback)"
max-selected-items="1"
cancel-label=“goBack”

Everything works fine, but…
After i chose one item in the list:
How I get the id from the model? field.id ?
How I get the name from the model? fiel.name ?
How I bind the model in a crud app that use the id as a column in database ?
Have you a example to help me?
Thanks in advance.