JSFiddle - React, Tailwind, and code Playground

by boneskull

HTML

<div ng-app="myApp">
    <div ng-controller="MyCtrl">
        <button ng-disabled="true" ng-click="alert()">button</butto>
    </div></div>

JavaScript

angular.module('myApp',[]).controller('MyCtrl', function($scope) {
    $scope.alert = function() {
        alert('hi');
    };
});