Revert "Angular: Fix for paths with interpolation"

This reverts commit 5c7224eb56.
This commit is contained in:
Oscar Kilhed
2021-10-22 16:16:40 +02:00
parent 34eda6123d
commit 0b440d5381
-6
View File
@@ -103,12 +103,6 @@ export class AngularApp {
}
bootstrap() {
// Do not initalize angular when the path contains an interpolation directive
const { pathname } = window.location;
if (pathname && (pathname.includes('%7B%7B') || pathname.includes('{{'))) {
return;
}
const injector = angular.bootstrap(document, this.ngModuleDependencies);
monkeyPatchInjectorWithPreAssignedBindings(injector);