mirror of
https://github.com/Febbweiss/CloudBudget-AngularJS.git
synced 2026-03-04 22:35:38 +00:00
Feature: add growl for notification
This commit is contained in:
15
public/js/config.js
Normal file
15
public/js/config.js
Normal file
@@ -0,0 +1,15 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
angular
|
||||
.module('config', [])
|
||||
.config(config);
|
||||
|
||||
config.$inject = ['growlProvider'];
|
||||
|
||||
function config(growlProvider) {
|
||||
growlProvider.globalReversedOrder(true);
|
||||
growlProvider.globalTimeToLive(5000);
|
||||
growlProvider.globalDisableCountDown(true);
|
||||
};
|
||||
})();
|
||||
Reference in New Issue
Block a user