JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<body ng-app>
<div ng-controller="helloCtrl">
<input type="text" ng-model="hello">
<span>{{hello}}</span>
<button ng-click="goodbye()">Good Byeに変更</button>
</div>
</body>
</html>
JavaScript
function helloCtrl($scope){
$scope.hello = "Hello, World!";
$scope.goodbye = function(){
$scope.hello="Good Bye";
};
}