Skip to content

Instantly share code, notes, and snippets.

@AdrienGiboire
Created June 12, 2013 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdrienGiboire/5768016 to your computer and use it in GitHub Desktop.
Save AdrienGiboire/5768016 to your computer and use it in GitHub Desktop.
Settings service
(function() {
'use strict';
angular.module('customer360App').factory('Settings', function() {
return {
appName: function() {
return '/customer-matrix/';
},
proxyUrl: function() {
return this.appName + 'proxy';
},
rootImages: function() {
var rootImages = this.appName() + 'customer360/images/';
return rootImages;
}
};
});
}).call(this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment