Currently I'm trying to figure out a way to preselect a drop down option depending on parameters in the URL. IE: www.example.com/#/Two, if you were to hit that URL I would like to have Two in the 'items' scope preselected to the 'selectedItem' scope. Right now with the below code all it does it default to 'One' in the 'items' scope. I've tried parsing the URL and injecting it into the 'selectedItem' scope but that didn't work either.
<select ng-model="selectedItem"
ng-options="item as item.name for item in items">
</select>
var testURL = 'http://www.example.com/#/Two';
$scope.items = [
{name:'One', value:'check1'},
{name:'Two', value:'check2'}
];
$scope.selectedItem = $scope.items[1];
Fiddle for convenience: Sandbox