module.exports = 'mufasa.notifications';

var angular = require('angular');

require('angular-translate');
require('angular-growl-v2');

angular
    .module(module.exports, ['angular-growl', 'pascalprecht.translate'])
    .factory('notificationService', require('./notificationService.factory.js'))
    .config(growlConfig);

growlConfig.$inject = ['growlProvider'];
function growlConfig (growlProvider) {
    growlProvider.globalTimeToLive({success: 2000, error: 5000, warning: 3000, info: 2000});
    growlProvider.onlyUniqueMessages(false);
    growlProvider.globalDisableCountDown(true);
}
