Implemented client upload with rangeslider and zip open
[src/app-framework-demo.git] / afb-client / app / Frontend / etc / ConfigApp.js
similarity index 76%
rename from afb-client/app/Frontend/services/ConfigApp.js
rename to afb-client/app/Frontend/etc/ConfigApp.js
index 310ef88..22cf220 100644 (file)
@@ -5,13 +5,16 @@
     angular.module('ConfigApp', [])
 
             // Factory is a singleton and share its context within all instances.
-            .factory('ConfigApp', function () {
+            .factory('ConfigApp', function ($location, $window) {
 
+                // console.log ("URL="+ $location.url() + " Query=" + location.href+ " window=" + document.referrer);
 
                 var myConfig = {
                     paths: { // Warning paths should end with /
-                        images : 'images/',
-                        avatars: 'images/avatars/'
+                        image : 'images/',
+                        avatar: 'images/avatars/',
+                        audio : 'images/audio/',
+                        appli : 'images/appli/'
                     },
                     
                     api: { // Warning paths should end with /