0
I have the following combo:
<select data-ng-model="dadosAddContaCamara.camara" data-ng-options="item.codigo as item.descricao for item in controller.listarCamara">
I need the dataAddContaCamara.camara model to pass values as object item.codigo as item.Description, however it only goes as string.some hint?
This might help: [http://answall.com/questions/69933/angularjs-ng-options-utilizar-propriedade-objecto-objecto-valuo-inv%C3%A9s-do-%C3%Adndi][1] [1]: http://pt.stacklowoverf.com/questions/69933/angularjs-ng-options-utilizar-propriedade-proprieddo-like-value-to-Inv%C3%A9s-do-%C3%Adndi
– Cristiano Hecht Winther
solved the problem!! Thanks!
– diogo silva braga