X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=afb-client%2Fapp%2FFrontend%2Fetc%2FConfigApp.js;fp=afb-client%2Fapp%2FFrontend%2Fservices%2FConfigApp.js;h=22cf220fb83e5b8ca096c6f9d940db4d2b95cbbe;hb=4136c1506e0c894e604ec069339313987a7e05e7;hp=310ef881324b7de33c4c64b2103b1fea8aecde4f;hpb=07eb8e102607da8d6a4c1cd9835e8465c9280161;p=src%2Fapp-framework-demo.git diff --git a/afb-client/app/Frontend/services/ConfigApp.js b/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 --- a/afb-client/app/Frontend/services/ConfigApp.js +++ b/afb-client/app/Frontend/etc/ConfigApp.js @@ -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 /