JSFiddle - React, Tailwind, and code Playground

by Shashank D

HTML

<div ng-app="app" ng-controller="test as x">
{{x.data}}
</div>

JavaScript

var app = angular.module('app', []);
app.controller('test', testController);

function testController($scope){
var x = this;
x.data = "Test data";
$scope = x;
}