/**
* @ngdoc directives
* @name calendar
* @module s4c.directives.calendar.calendar
*
* @description
* `calendarController` Controller da webview do Google Calendar
*
*/
(function () {
'use strict';
calendarController.$inject = [
'$scope',
'$http',
'API_ENDPOINT',
'$window',
'$filter',
'$anchorScroll',
'$mdDialog',
'$timeout',
'Preset',
'$q',
'$sce'
];
function calendarController(
$scope,
$http,
API_ENDPOINT,
$window,
$filter,
$anchorScroll,
$mdDialog,
$timeout,
Preset,
$q,
$sce) {
$scope.res = $scope.$root.res;
angular.extend($scope, {
});
}
function s4cCalendar() {
return {
restrict: 'EA',
templateUrl: 'app/directives/calendar/calendar.html',
scope: {},
controller: calendarController
};
}
angular.module('s4c.components.calendar', [])
.directive('s4cCalendar', s4cCalendar);
})();