title: How to extract ViewContainerRef and ComponentRef in most efficient way?
body: <p>I work with angular-material mdSidenav and want to programmatically open it and insert custom component.</p>
  
  <p>I use <code>@ViewChild('varName')</code> to extract componentInstance and <code>@ViewChild('varName', {read: ViewContainerRef})</code> to extract container where I would place my content. </p>
  
  <p>So, my question is - is it possible just 1 @ViewChild and get other info from extracted reference.</p>
  
  <p>Second question - which values allowed for read property ? ElementRef/ViewContainerRef/... ?</p>
  
  <p>Update:</p>
  
  <p>I found, that ViewContainerRef of mdSidenav incorrect container for my component. How to place component.hostView inside mdSidenav hostView?</p>