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

On `$scope.eventSource` the property `className` doesn't work #366

Open sahilsharmafrank opened 8 years ago

sahilsharmafrank commented 8 years ago

The className main-event should be attached to each of the events, instead its showing an blank array. But when i send className from backend it works fine. Please help me in resolving this.

$scope.eventSource = {
    url: "/getAvailData/user/1",
    className: 'main-event',           // an option!
    currentTimezone: 'America/Chicago' // an option!
};