title: Angular access parent template element ref
body: <p>I have a parent component that within that TS file I get the element ref as follows:</p>
  <pre><code>@ViewChild(&quot;custContainer&quot;) _custContainer: ElementRef;
  const height = this._custContainer.nativeElement.height;
  </code></pre>
  <p>I then have a child component where I need to access this parent ElementRef.  How can I do this in the child component and I believe I need to get it once the parent is rendered as I am using it to get the height once data is loaded into this element.</p>