diff --git a/src/directives/mwlCalendar.js b/src/directives/mwlCalendar.js index c5baf412..73229b0c 100644 --- a/src/directives/mwlCalendar.js +++ b/src/directives/mwlCalendar.js @@ -112,7 +112,7 @@ angular return { templateUrl: calendarConfig.templates.calendar, - restrict: 'EA', + restrict: 'E', scope: { events: '=', view: '=', diff --git a/src/directives/mwlCalendarDay.js b/src/directives/mwlCalendarDay.js index fd727b2b..75d6adf3 100644 --- a/src/directives/mwlCalendarDay.js +++ b/src/directives/mwlCalendarDay.js @@ -77,7 +77,7 @@ angular return { templateUrl: calendarConfig.templates.calendarDayView, - restrict: 'EA', + restrict: 'E', require: '^mwlCalendar', scope: { events: '=', diff --git a/src/directives/mwlCalendarHourList.js b/src/directives/mwlCalendarHourList.js index 42bd1343..204508f9 100644 --- a/src/directives/mwlCalendarHourList.js +++ b/src/directives/mwlCalendarHourList.js @@ -51,7 +51,7 @@ angular .directive('mwlCalendarHourList', function(calendarConfig) { return { - restrict: 'EA', + restrict: 'E', templateUrl: calendarConfig.templates.calendarHourList, controller: 'MwlCalendarHourListCtrl as vm', scope: { diff --git a/src/directives/mwlCalendarMonth.js b/src/directives/mwlCalendarMonth.js index 72c6b64b..763c2cad 100644 --- a/src/directives/mwlCalendarMonth.js +++ b/src/directives/mwlCalendarMonth.js @@ -93,7 +93,7 @@ angular return { templateUrl: calendarConfig.templates.calendarMonthView, - restrict: 'EA', + restrict: 'E', require: '^mwlCalendar', scope: { events: '=', diff --git a/src/directives/mwlCalendarSlideBox.js b/src/directives/mwlCalendarSlideBox.js index e17a8b8f..fb60977b 100644 --- a/src/directives/mwlCalendarSlideBox.js +++ b/src/directives/mwlCalendarSlideBox.js @@ -22,7 +22,7 @@ angular .directive('mwlCalendarSlideBox', function(calendarConfig) { return { - restrict: 'EA', + restrict: 'E', templateUrl: calendarConfig.templates.calendarSlideBox, replace: true, controller: 'MwlCalendarSlideBoxCtrl as vm', diff --git a/src/directives/mwlCalendarWeek.js b/src/directives/mwlCalendarWeek.js index fd75be75..82ee8067 100644 --- a/src/directives/mwlCalendarWeek.js +++ b/src/directives/mwlCalendarWeek.js @@ -79,7 +79,7 @@ angular return { templateUrl: calendarConfig.templates.calendarWeekView, - restrict: 'EA', + restrict: 'E', require: '^mwlCalendar', scope: { events: '=', diff --git a/src/directives/mwlCalendarYear.js b/src/directives/mwlCalendarYear.js index 8a5ff08c..f4c84045 100644 --- a/src/directives/mwlCalendarYear.js +++ b/src/directives/mwlCalendarYear.js @@ -66,7 +66,7 @@ angular return { templateUrl: calendarConfig.templates.calendarYearView, - restrict: 'EA', + restrict: 'E', require: '^mwlCalendar', scope: { events: '=',