diff --git a/openslides/core/static/js/core/core.js b/openslides/core/static/js/core/core.js
index ad837df9e..b767dccc3 100644
--- a/openslides/core/static/js/core/core.js
+++ b/openslides/core/static/js/core/core.js
@@ -229,12 +229,12 @@ angular.module('OpenSlidesApp.core.site', [
// Replaces any folowing points though a -
templateUrl = 'static/templates/' + appName.replace(/\./g, '-') + '.html';
}
- config.templateUrl = config.templateUrl || templateUrl;
+ config.templateUrl = state.templateUrl || templateUrl;
// controller
if (patterns.length >= 3) {
controller = _.capitalize(patterns[1]) + defaultControllers[_.last(patterns)];
- config.controller = config.controller || controller;
+ config.controller = state.controller || controller;
}
result[name] = config;
});
diff --git a/openslides/core/static/templates/index.html b/openslides/core/static/templates/index.html
index 51af20959..80e5bf766 100644
--- a/openslides/core/static/templates/index.html
+++ b/openslides/core/static/templates/index.html
@@ -1,8 +1,5 @@
-
-
-
-
+