Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<body>
<div ng-app="" ng-init="mySwitch=true">
<p>
<button ng-disabled="mySwitch">Click Me!</button>
</p>
<p>
<input type="checkbox" ng-model="mySwitch"/>Button
</p>
<p>
{{ mySwitch }}
</p>
</div> 
</body>
<!-- Mirrored from www.mdssup.ma/angular/tryit.asp?filename=try_ng_html_disabled by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 14:57:11 GMT -->
</html>