<!doctype html>
<html ng-app="plunker" >
<head>
<meta charset="utf-8">
<title>AngularJS Plunker</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/base/jquery-ui.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.2.0/css/datepicker.css">
<script>document.write("<base href=\"" + document.location + "\" />");</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/angular-ui/0.4.0/angular-ui.min.js"></script>
<script src="app.js"></script>
</head>
<body ng-controller="MainCtrl">
<div>
<input ui-date="opts" ng-model="data.valor" readonly=""></input>
Date: {{data.valor}}
</div>
</div>
</body>
</html>
var app = angular.module('plunker', ['ui.directives']);
app.controller('MainCtrl', function($scope) {
$scope.opts = {
dateFormat: 'dd/mm/yy',
changeMonth: true,
changeYear: true
};
$scope.data = {
valor: "10/09/2013"
};
});
/* Put your css in here */