Source JSON data is:
[
{\"name\":\"Alabama\",\"code\":\"AL\"},
{\"name\":\"Alaska\",\"code\":\"AK\"},
{\"name\":\"American Samoa\",\"code\":\"AS\"},
You could modify you model to look like this:
$scope.options = {
"AL" : "Alabama",
"AK" : "Alaska",
"AS" : "American Samoa"
};
Then use
<select ng-options="k as v for (k,v) in options"></select>
you can use
state.name for state in states track by state.code
Where states in the JSON array, state is the variable name for each object in the array.
Hope this helps