diff --git a/bower.json b/bower.json
index 12c19b9..ee6fb5f 100644
--- a/bower.json
+++ b/bower.json
@@ -16,7 +16,7 @@
"package.json"
],
"dependencies": {
- "angular": "1.2.26",
+ "angular": "1.3.x",
"jquery": "2.x",
"fullcalendar": "2.1.1",
"moment": "2.*"
diff --git a/demo/calendarDemo.js b/demo/calendarDemo.js
index ec1e8d1..5309d97 100644
--- a/demo/calendarDemo.js
+++ b/demo/calendarDemo.js
@@ -1,7 +1,8 @@
/**
* calendarDemoApp - 0.9.0
*/
-angular.module('calendarDemoApp', ['ui.calendar', 'ui.bootstrap']);
+angular.module('calendarDemoApp', ['ui.calendar', 'ui.bootstrap'])
+ .controller('CalendarCtrl', CalendarCtrl)
function CalendarCtrl($scope,$compile,uiCalendarConfig) {
var date = new Date();
@@ -87,6 +88,7 @@ function CalendarCtrl($scope,$compile,uiCalendarConfig) {
};
/* Change View */
$scope.renderCalender = function(calendar) {
+ console.log('hahahhahahhah', uiCalendarConfig.calendars[calendar])
if(uiCalendarConfig.calendars[calendar]){
uiCalendarConfig.calendars[calendar].fullCalendar('render');
}
diff --git a/demo/index.html b/demo/index.html
index 9dfacd2..183410b 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -10,7 +10,7 @@
-
+