Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script>  
<script>
  function appCtrl($scope){
    $scope.teams = [
        {teamId: 10, teamName: 'Foo'},
        {teamId: 20, teamName: 'Bar'},
        {teamId: 30, teamName: 'Steve'},
        {teamId: 40, teamName: 'Jobs'},
        {teamId: 50, teamName: 'Macs'}
    ];
    $scope.filters = {
        teamIdSelected: 20
    };
  }
</script>
<div ng-app ng-controller="appCtrl"> 
    <select class="small" ng-model="filters.teamIdSelected">
      <option ng-repeat="team in teams" value="{{team.teamId}}">{{team.teamName}}</option>
    </select>
</div>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
scottybollingerpro
0viewers