Add the app!!!
[src/app-framework-demo.git] / afb-client / app / Frontend / services / ConfigApp.js
1 (function () {
2     'use strict';
3
4     // _all modules only reference dependencies
5     angular.module('ConfigApp', [])
6
7             // Factory is a singleton and share its context within all instances.
8             .factory('ConfigApp', function () {
9
10
11                 var myConfig = {
12                     paths: { // Warning paths should end with /
13                         images : 'images/',
14                         avatars: 'images/avatars/'
15                     },
16                     
17                     api: { // Warning paths should end with /
18                        token : '/api/token/'
19                     }
20                 };
21
22                 return myConfig;
23             });
24
25 })();