Angular: Empty Fiddle

http://angularjs.org/

HTML

<div ng-controller="MyCtrl">
    <select ng-model="selectedItem" 
            ng-options="item as item.name for item in items">
    </select>
</div>

JavaScript

var myApp = angular.module('myApp',[]);


function MyCtrl($scope) {
    
    var testURL = 'http://www.example.com/#/Two';
    
    $scope.items = [
      {name:'One', value:'check1'},
      {name:'Two', value:'check2'}
    ];
    
    $scope.selectedItem = $scope.items[0];
}