I need to display the full generated content of a component some where else in the html dom (although within the app-root).
Let me explain.
I have this code in app.component.html
<app-component-one></app-component-one>
<app-component-two></app-component-two>
Now app-component-two calls another component in it conditionally, like this:
<app-component-three *ngIf="show3"></app-component-three>
Now what it will do is that it will show the app-component-three data/html inside app-component-two. But for some reason I want that data/html to be placed/shown inside the app-component-one.
Is that possible?
EDITS
Use Case 1: app-component-one is on the left half of screen, app-component-two is on the right half. Some formatted and bound data is generated in app-component-two but I want to show it on the left side of the screen, not on right side where it was actually generated.
Use Case 2: app-component-one is outside all bounds and router-outlet, while app-component-two is actual app which generates reports. If the report is kept in there, it is not rendered properly. So I need to pull it out of the app-component-two component and its position: fixed css bounds.
app-component-threeinsideapp-component-one? and display it insideapp-component-onebased on some condition inapp-component-two?app-component-three, you generate that inapp-component-twoand pass it toapp-component-one