diff options
author | Stanislau Wolski <stanislau.wolski@gmail.com> | 2013-10-28 17:57:28 +0300 |
---|---|---|
committer | Stanislau Wolski <stanislau.wolski@gmail.com> | 2013-10-28 17:57:28 +0300 |
commit | 7547bd91160ef3a525dfe7c990fefb67212e3ae3 (patch) | |
tree | f4fafb42cf91a6f4bf40a1903a3238277f212c13 /js/app.js | |
download | angular-scheduler-demo-7547bd91160ef3a525dfe7c990fefb67212e3ae3.zip angular-scheduler-demo-7547bd91160ef3a525dfe7c990fefb67212e3ae3.tar.gz angular-scheduler-demo-7547bd91160ef3a525dfe7c990fefb67212e3ae3.tar.bz2 |
[add] initial versionorigin/gh-pages
Diffstat (limited to 'js/app.js')
-rw-r--r-- | js/app.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/js/app.js b/js/app.js new file mode 100644 index 0000000..8e90e54 --- /dev/null +++ b/js/app.js @@ -0,0 +1,19 @@ +'use strict'; + +/* App Module */ + +var app = angular.module('schedulerApp', [ ]); + +app.controller('MainSchedulerCtrl', function($scope) { + $scope.events = [ + { id:1, text:"Task A-12458", + start_date: new Date(2013, 10, 12), + end_date: new Date(2013, 10, 16) }, + { id:2, text:"Task A-83473", + start_date: new Date(2013, 10, 22 ), + end_date: new Date(2013, 10, 24 ) } + ]; + + $scope.scheduler = { date : new Date(2013,10,1) }; + +});
\ No newline at end of file |