Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-app>
  <ul>
    <li>
      <button data-active="{{ selected }}" ng-click="selected = !selected">Item 1 is {{ selected }}</button>
    </li>
    <li>
      <button data-active="{{ selected }}" ng-click="selected = !selected">Item 2 is {{ selected }}</button>
    </li>
    <li>
      <button data-active="{{ selected }}" ng-click="selected = !selected">Item 3 is {{ selected }}</button>
    </li>
  </ul>
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers