Angular: Empty Fiddle
http://angularjs.org/
by Bretto
HTML
<script src="http://code.angularjs.org/angular-1.0.0rc8.js"></script>
<div ng-controller="MyCtrl">
<input type="checkbox"
ng-model="selection"
ng-true-value="enabled"
ng-false-value="disabled">
{{selection}}
</div>
JavaScript
function MyCtrl($scope) {
$scope.selection = 'enabled';
}