angular-ui / ui-calendar

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

Fixed handling of the calendar-watch-event attribute #393

Closed hansallis closed 4 years ago

hansallis commented 8 years ago

I'm not able to test this easily, but at least for my version of AngularJS (which is ancient), the $scope.calendarWatchEvent property is a function that fetches the actual function from the scope. Therefore, its needs to be run instead of just accepting it as it is.

Please disregard if I'm wrong or if this is no longer relevant for more recent versions of AngularJS :)