I need to grab two values and put them together into a new one so I can use that to display them in the select box with ng-options.
It doesn't look like ng-options lets you pull two key values and to that. I tried something like this, "
c.name and c.shade for c in colors", but that doesn't work. So I thought I could grab them and put them into the new item and from there so my model stay intact since I need to be able to access otehr parts of it on select change. Here's my best attempt to do that by pushing into the model but I can't push into it this way apparently. Plunker:
http://plnkr.co/edit/1eNAFWmOrrQSMrWLkp7l?p=preview