I have been trying to figure out how to use an array if objects as the key values for an ng-select directive
this is the data I want to use
$scope.selectValues [
{name: "Options 1", value: "11"},
{name: "Options 2", value: "22"}
{name: "Options 3", value: "33"}
];
and I want the output to be
<select>
<option value="11">Options 1</option>
<option value="22">Options 2</option>
<option value="33">Options 3</option>
</select>
Can anyone explain how to do this ? and show a an example of the directive set up? I have looked at the docs but they don't have an example that fits for the this model.