Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 389 Bytes
<html ng-app="App">
<head>
<title>Two way Data Binding with Form Controls</title>
<script src="../bower_components/angular/angular.js"></script>
</head>
<body>
<input type='checkbox' ng-model='choose' />
<div>{{choose}}</div>
<button ng-click="choose=!choose">Toggle Checkbox</button>
<script type="text/javascript">
angular.module('App', []);
</script>
</body>
</html>