/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
(function() {
/* jshint validthis: true */
'use strict';
/*
* sgCategoryStylesheet - Add CSS stylesheet for a category's color
* @memberof SOGo.SchedulerUI
* @restrict attribute
* @param {object} ngModel - the object literal describing the category
* @example:
*/
function sgCategoryStylesheet() {
return {
restrict: 'E',
require: 'ngModel',
scope: {
ngModel: '='
},
replace: true,
template: [
''
].join('')
};
}
angular
.module('SOGo.SchedulerUI')
.directive('sgCategoryStylesheet', sgCategoryStylesheet);
})();