JSFiddle - React, Tailwind, and code Playground

by BuriB

HTML

<body ng-app="app" ng-controller="myTestCntrl">
	    <input type="date" id="exampleInput" name="input" ng-model="value" placeholder="yyyy-MM-dd" required />
	    {{value}}
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js"></script>
	    <script type="text/javascript">
            var date = new Date();
	        angular.module('app', [])
	            .controller('myTestCntrl', function myTestCntrl($scope) {
	            $scope.value = new Date().toISOString().split("T")[0];
	        });
	    </script>
	</body>