I have the following json object:
$scope.values = [ { \"id\": 2, \"code\": \"Code 1\", \"name\": \"Sample 1\"
Sure, you can achieve that by invoke ng-repeat for option,
ng-repeat
option
HTML
{{v.code}} -- {{v.name}}
JS
the same
Demo Fiddle