Inject requirejs config into template callback path