123456789101112131415161718192021222324252627 |
- angular
- .module('mwl.calendar.docs')
- .controller('BadgeTotalCtrl', function(moment) {
- var vm = this;
- vm.events = [
- {
- title: 'Increments the badge total on the day cell',
- type: 'warning',
- startsAt: moment().startOf('month').toDate(),
- incrementsBadgeTotal: true
- },
- {
- title: 'Does not increment the badge total ',
- type: 'info',
- startsAt: moment().startOf('month').toDate(),
- incrementsBadgeTotal: false
- }
- ];
- vm.calendarView = 'month';
- vm.viewDate = moment().startOf('month').toDate();
- vm.isCellOpen = true;
- });
|