blob: a40beb51a6c31de1a81ea32006e09928b79b6ddd [file] [log] [blame]
Iftekharul Islam99d199f2017-03-24 15:28:25 -05001/**
2 * A module with constants for the REST API
3 *
4 * @module app/constants
5 * @exports app/constants
6 *
Iftekharul Islam99d199f2017-03-24 15:28:25 -05007 */
8
Andrew Geisslerba5e3f32018-05-24 10:58:00 -07009window.angular && (function(angular) {
10 'use strict';
Iftekharul Islam99d199f2017-03-24 15:28:25 -050011
Andrew Geisslerba5e3f32018-05-24 10:58:00 -070012 angular
13 .module('app.constants')
14 .constant('EnvironmentConstants', {
15 'inDevelopmentMode': true,
16 'RestConstants': {},
17 FLASH_MESSAGE: {
18 duration: 2000,
19 classes: {
20 warning: 'message-warning',
21 info: 'message-info',
22 error: 'message-error',
23 success: 'message-success'
24 }
25 }
26 });
Iftekharul Islam99d199f2017-03-24 15:28:25 -050027
28})(window.angular);