Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="angular access select label">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body ng-controller="c">
    
    <label>Select: </label>
    <select ng-model="selected" ng-options="it.name for it in list"></select>
    
    <p>Value selected (id): {{ selected.id }}</p>
    <p>Label selected: {{ selected.name }}</p>
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
joaozitopolopro
0viewers