I'm using AngularJS and Django together, so I apply the recipe found here to reconfigure Angular's template delimiters:
angular.module("some module name").config(function($interpolateProvider) {
$interpolateProvider.startSymbol('{[{');
$interpolateProvider.endSymbol('}]}');
});
I have to re-apply this piece to each module, only changing the "some module name"
string. Is there a way to define this piece of configuration once, and then cleanly require and inject it into a module at the module's definition site?