JSFiddle - React, Tailwind, and code Playground

by Sajeetharan Sinnathurai

HTML

<body  ng-controller="myCtrl">
    <input ng-model="msg" />
    <p>
        {{msg}}
    </p>
</body>

JavaScript

// the main (app) module
var myApp = angular.module("myApp", []);

// add a controller
myApp.controller("myCtrl", function($scope) {
    $scope.msg = "hello world";
});