In my application, the configuration javascript file is configurable from the backend.
The translation json and the configuration file itself are getting generated, when you compile the backend core. (there's an addtional web interface for technical writers to maintain the translations)

We have seperate variable for "pathToLocale" and "filePrefix". 

Just wanted to point out, that this configuration can be read as two configs.

~~~ javascript
//configuration file generated from compile process.
CONFIG.LOCALIZATION = {
	//about locale file configuration
	"LOCALE": {
		//base path to the locale files
		"PATH": "assets/locale/",
		"PREFIX": "lang-",
		"SUFFIX": ".json"
	}
};
//in the bootstrapping file
$translateProvider.useStaticFilesLoader({
	prefix: CONFIG.LOCALIZATION.LOCALE.PATH + CONFIG.LOCALIZATION.LOCALE.PREFIX,
	suffix: CONFIG.LOCALIZATION.LOCALE.SUFFIX
});
~~~