forked from jkuri/ngTimepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
25 lines (21 loc) · 819 Bytes
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html ng-app="app">
<head>
<title>ngTimepicker</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="src/css/ngTimepicker.css">
</head>
<body ng-controller="Ctrl as ctrl">
<ng-timepicker ng-model="ctrl.time"></ng-timepicker>
{{ ctrl.time }}
<ng-timepicker ng-model="ctrl.time2" theme="red" show-meridian="true"></ng-timepicker>
{{ ctrl.time2 }}
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script>
<script type="text/javascript" src="src/js/ngTimepicker.min.js"></script>
<script type="text/javascript">
var app = angular.module('app', ['jkuri.timepicker']);
app.controller('Ctrl', [function() {
}]);
</script>
</body>
</html>