Closed LJaschinski closed 8 years ago
I found the solution, just switch $scope.eventSources and $scope.events, like this :
$scope.events = [
{title: 'Event',start: new Date(y, m, 1)},
];
$scope.eventSources = [$scope.events];
It seems that eventSources has to be defined at the end of the controller.
hello guys, I'm trying to create a very simple calendar for the beginning. I just have :
<div class="calendar" ui-calendar="uiConfig.calendar" ng-model="eventSources"></div>
and in my controller :
but i have the error "Error: source is undefined" and i don't understand why... Maybe a problem with my installation of fullCalendar ?