blob: d5ce783008f4385b2d33c94b591cd0af9cff7808 [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
9window.angular && (function (angular) {
10 'use strict';
11
12 angular
13 .module('app.constants')
14 .constant('EnvironmentConstants', {
15 'inDevelopmentMode': true,
16 'RestConstants': {
17 },
18 FLASH_MESSAGE : {
19 duration: 2000,
20 classes: {
21 warning: 'message-warning',
22 info: 'message-info',
23 error: 'message-error',
24 success: 'message-success'
25 }
26 }
27 });
28
29})(window.angular);