When using ng-list, it's common to have a simple array for your model:
[1,2,3,4,5]
However, in my case, I have an array of objects like this:
[{ id: 1, value: 2 }, { id: 2, value: 3 } ... ]
Is there a way for me to display each value
in a text input like this?:
2, 3
It seems that ng-list might be what I need, but my model is structured differently. Do I need to adjust my model or is there a way to achieve this with the current setup?
Appreciate any help!