JSFiddle - React, Tailwind, and code Playground

by blashadow

HTML

<div ng-app>
    
    <div ng-controller='hola'>
        <div>{{ chevere }}</div>
        <input ng-model='chevere' id="" cols="30" rows="10"/>
        <button ng-click='cute()'>nice</button>
    </div>
    
</div>

<script>
    function hola($scope){
    
        $scope.chevere = "";
    
        $scope.cute = function(){
            alert($scope.chevere);
            $scope.chevere = "";
        }
    }
</script>