JSFiddle - React, Tailwind, and code Playground

by irfanshafi

HTML

<body ng-app="myApp">
    <div ng-controller="MyCtrl">
        <input type="date" ng-model="date" value={{date}}>  
    </div>
</body>

JavaScript

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

function MyCtrl($scope, $filter) {
    $scope.date = $filter("date")(Date.now(), 'yyyy-MM-dd');
}