Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script>
  
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-controller="myCtrl as vm">
  {{1+1}}
  <ul>
  <li ng-repeat="area in vm.AreaList">
      <label class="checkbox checkbox--list-item" >
          <input type="radio" ng-bind="area.name"  ng-model="vm.selectedValue" name="area" ng-value="area.code">
        <div class="checkbox__checkmark checkbox--list-item__checkmark"></div>
        {{area.name}}
      </label>
    </li>
  </ul>
  Selected Value: {{vm.selectedValue}}
  <br>
  <br>
  <button ng-disabled="!vm.selectedValue" ng-click="vm.submitAnswer(vm.selectedValue)">Submit Selection</button>
</body>
</html>
Output

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

Dismiss x
public
Bin info
mxa055pro
0viewers