angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 729 forks source link

function assigned to eventSources gets called with all parameters undefined. #331

Open ghost opened 8 years ago

ghost commented 8 years ago

Looking at this line: https://github.com/angular-ui/ui-calendar/blob/master/src/calendar.js#L101

No parameters are being passed into the function. FullCalendar docs say it supports passing in startDate, endDate, timeZone and a callBack to execute when function is complete.

ghost commented 8 years ago

Adding an events property to the calendar options is how I'm utilizing the 'function as an event source' option for now, but this is going directly through the fullcalendar widget and I do not think the directive is aware of it.