Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<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-app="app">
  <div ng-controller="mainCtrl as c">
    <ul>
      <li ng-repeat="person in c.names" ng-click="c.tooltip=$index">
        <span>{{ person }}</span>
        <div class="tooltip" ng-show="c.tooltip==$index">This is {{ person }}'s tooltip</div>
      </li>
    </ul>
  </div>
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers