summaryrefslogtreecommitdiffstats
path: root/afb-client/app/Frontend/services/ConfigApp.js
blob: f36d79b3d84aa8176b8f10784ee03dce96040f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(function () {
    'use strict';

    // _all modules only reference dependencies
    angular.module('ConfigApp', [])

            // Factory is a singleton and share its context within all instances.
            .factory('ConfigApp', function () {


                var myConfig = {
                    paths: { // Warning paths should end with /
                        images : 'images/',
                        avatars: 'images/avatars/'
                    },
                    
                    api: { // Warning paths should end with /
                       token : '/api/token/'
                    }
                };

                return myConfig;
            });

})();