From 0b440d53814f897717ba001092a511e51e8b8b10 Mon Sep 17 00:00:00 2001 From: Oscar Kilhed Date: Fri, 22 Oct 2021 16:16:40 +0200 Subject: [PATCH] Revert "Angular: Fix for paths with interpolation" This reverts commit 5c7224eb56801b22848470a50b50398bc06cc1e8. --- public/app/angular/AngularApp.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/public/app/angular/AngularApp.ts b/public/app/angular/AngularApp.ts index 2f45a909196..ffa585766dc 100644 --- a/public/app/angular/AngularApp.ts +++ b/public/app/angular/AngularApp.ts @@ -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);