-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f1e69f
commit bca9f54
Showing
8 changed files
with
145 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html data-ng-app='ngQuickDateDemo'> | ||
<head> | ||
<title>ngQuickDate Demo</title> | ||
<link rel="stylesheet" type="text/css" href="dist/ng-quick-date.css" media="all" /> | ||
<link rel="stylesheet" type="text/css" href="dist/ng-quick-date-default-theme.css" media="all" /> | ||
</head> | ||
<body> | ||
<div ng-controller='DemoCtrl'> | ||
<p> | ||
<label>My Date</label> | ||
<br/> | ||
<datepicker ng-model='myDate'></datepicker> | ||
</p> | ||
<br/> | ||
<p> | ||
<strong>My Date:</strong> {{myDate | date:'medium'}} | ||
</p> | ||
</div> | ||
<script type="text/javascript" src="bower_components/angular/angular.js"></script> | ||
<!-- <script type='text/javascript' src='bower_components/jquery/jquery.js' /> --> | ||
<script type="text/javascript" src="dist/ng-quick-date.js"></script> | ||
<script type='text/javascript'> | ||
var app = angular.module("ngQuickDateDemo", ["ngQuickDate"]); | ||
app.config(function(ngQuickDateDefaultsProvider) { | ||
return ngQuickDateDefaultsProvider.set({ | ||
}); | ||
}); | ||
app.controller("DemoCtrl", function($scope) { | ||
$scope.myDate = new Date(); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.