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