JSFiddle - React, Tailwind, and code Playground

by Daniel Lamb

HTML

<div ng-app="myApp">
    <div ng-controller="Example">
       Toggle button: <input type="checkbox" ng-model="checked" />
       <br/><button ng-disabled="checked">Button</button>
    </div>
</div>

JavaScript

angular.module('myApp', [])
.controller('Example', ['$scope', function ($scope) {
    $scope.checked = false;
}]);