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

Remove event scope #443

Open danielraban opened 8 years ago

danielraban commented 8 years ago

Hi all,

I am wondering if it is possible to remove an eventSource on click of a button. I have, and would like to hide and show unapprovedEvents on the click of a button. Any help is appreciated, Thanks.

$scope.eventSources = [$scope.approvedEvents, $scope.unapprovedEvents]