JSFiddle - React, Tailwind, and code Playground

by qchoshino

HTML

<div ng-controller="MyCtrl">
  Hello, {{name}}!
</div>

JavaScript

var myApp = angular.module('myApp',[]);

//myApp.directive('myDirective', function() {});
//myApp.factory('myService', function() {});

function MyCtrl($scope, $timeout) {
    $scope.name = 'world';
    
    
    $timeout(function () {
        $scope.name = 'timeout';
    }, 2000)
    
}