JSFiddle - React, Tailwind, and code Playground

by Ved prakash

HTML

<div ng-app ="myApp" ng-controller="emp as emp"> 
 Hello {{emp.name}}, I am happy that you are getting a salary of{{emp.salary}}.
</div>

JavaScript

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

app.controller('emp', function(){
 this.name = "John";
 this.salary = 4500;
});