JSFiddle - React, Tailwind, and code Playground
by rakotkar
HTML
<div ng-app="myapp">
<div ng-controller="myctrl as ctrl">
{{w}}
<input type="text" ng-model="ctrl.name"/>
<input type="submit" ng-click="call();"/>
</div>
</div>
JavaScript
var message ={s:"hello {{name}}"};
angular.module("myapp",[]).controller("myctrl",function($scope){
var ctrl=this;
$scope.name="david";
$scope.w=message.s;
$scope.call=function(){
//alert(message);
};
});