I have an object as below. I have to display this as a drop-down:
var list = [{id:4,name:\"abc\"},{id:600,name:\"def\"},{id:200,name:\"xyz\"}]
Some of the scenarios, object.item would not be loaded or will be undefined.
Use ng-init