History is not clearing when switching between app.
Demonstration
Hi Team,
I am spiting angular application in to MFE, I have 3 MFE (header, dashboard, footer). I facing issue on route old content not removing when we switch between apps. When i am going to new route existing route data is not clearing and new data is not loading. I attached gif image for your reference. please check

I created git repository to reproduce this issue. In below link you can download the code to reproduce this issue. https://github.com/ranjeettamil/singe-spa-angular-lazy/tree/routing-issue
Output :

Expected Behavior - It should clear the old history
Actual Behavior - It is not clearing the data.
I don't know where the issue to fix and i not getting console error also, If anyone have any idea to resolve this issue please provide your comments.
I wonder if this might be related to https://github.com/single-spa/single-spa-angular/issues/316 which could be explained if missing BrowserAnimationModule.