Hi,
Code: Select all
In the Pizza example, I set the select and its options like this:
Select Options and set its property ng-model = "selected.item" and set ng-options to the value "item.name for item in list".
How can I set a specific option (let's say, the second) to be selected when I open the page? Should I use ng-selected? How?
Code: Select all
Thanks