(function() {

var defaultConfig = {
  SERVER_BASE_URL: 'http://openl10n.dev/api',
}

if (typeof config === 'undefined') {
  config = defaultConfig;
}

angular
  .module('app')
  .constant('Configuration', config);

})();

@@ -145,16 +145,120 @@
 fig;%0A%7D%0A%0A
+// Trim the final slash if exist%0Aconfig.SERVER_BASE_URL = config.SERVER_BASE_URL.replace(/%5C/+$/g, '');%0A%0A
 angular%0A

Trim the final slash if exist in the given config