JSFiddle - React, Tailwind, and code Playground

by anvarik

HTML

<div ng-app ng-controller="MainCtrl">
    <p>First Name:
        <input ng-model="first" ng-readonly="true"/>
    </p>
    <p>Last Name:
        <input ng-model="second" ng-readonly="{{truefalse}}"/>
    </p>
</div>

JavaScript

function MainCtrl($scope) {
    $scope.first = "Angular";
    $scope.second = "JS";
    $scope.truefalse = "true";
}