JSFiddle - React, Tailwind, and code Playground

by angelochen960

HTML

<div ng-app="ng">
    <div ng-controller="Ctrl1">
        <p>{{now_date}}</p>
        <input type="text" id="inputMsg" ng-model="msg" value={{msg}} />  
        <input type="date" id="inputDate" placeholder="Date" ng-model="now_date" value={{now_date|date:'yyyy-MM-dd'}} />
            
    </div>
</div>

CSS

</style> <!-- Ugly Hack due to jsFiddle issue: http://goo.gl/BUfGZ --> 
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js"></script>
<style>

JavaScript

//var app = angular.module('ng', []);

function Ctrl1($scope) {

    $scope.msg = 'Hello';
    $scope.now_date = new Date("11/12/2013");
}