JSFiddle - React, Tailwind, and code Playground

by ipoly

HTML

<div ng-app='' ng-controller='myCtrl'>
    <div ng-switch='switch'>
        <div ng-switch-default=''>
            <input type="text" name='test' ng-model='test' placeholder='placeholder'>
            {{test}}
        </div>
    </div>
    
</div>

JavaScript

function myCtrl($scope){
    $scope.switch = 1;
}