title: Angular 4 Portal/CdkPortal not working in new child window
body: <p>I'm working in an Angular 4 app and I need to show a specific component in a new child window. So I research for a solution (i'm NOT looking for a solution with routing by url 'couse my server always redirec to index with window.open('some URL'), so window.open('') with ataching might be the solution) and I found this stackblitz example
  <a href="https://stackblitz.com/edit/angular-open-window?file=src%2Fapp%2Fapp.component.ts" rel="nofollow noreferrer">StackBlitz Example</a></p>
  
  <p>in that example, are using <code>CdkPortal</code> . The problem is apparently cdk portal is not in angular 4 (I'm not shure, but this error is showing <code>@angular/cdk/portal"' has no exported member 'CdkPortal'</code>)</p>
  
  <p>I just copy and paste the previous example 'couse is exactly what I need, but in my angular version is not working.</p>
  
  <p>Is there some equivalent example for angular 4?</p>
  
  <p><strong>ADITIONAL</strong></p>
  
  <p>in the example, they are using this code fragment to show the window</p>
  
  <pre><code>&lt;window *ngIf="showPortal"&gt;
    &lt;h2&gt;Hello world from amother window!!&lt;/h2&gt;
    &lt;button (click)="this.showPortal = false"&gt;Close me!&lt;/button&gt;
  &lt;/window&gt;
  </code></pre>
  
  <p>so my question is... is posible to add other component inside the component that I want to atach in the portal? Something like this.</p>
  
  <pre><code>&lt;window *ngIf="showPortal"&gt;
    &lt;my-other-component [currentValue]="someValue"&gt;&lt;/my-other-component&gt;
  &lt;/window&gt;
  </code></pre>
  
  <p>If it is posible, Would the component work correctly?</p>