diff options
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 |