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.2.14/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-app="MyApp">
  <div ng-controller="test1">
    {{flagging}}
    <button ng-click="flag1(true)">True</button>
    <button ng-click="flag1(false)">Close</button>
  </div>
  <div ng-controller="test2">
    {{flag2}}
  </div>
</body>
</html>
Output

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

Dismiss x
public
Bin info
mmahalwypro
0viewers