title: Angular2 - nativeElement of ElementRef is undefined
body: <p>I have an <code>viewport: ElementRef</code> object in a component, which I can log and see values for all of its properties. I can see that there is an array of <code>children</code> of length 3, and I need to access <code>children[1]</code>. </p>
  
  <p>While logging the value of <code>viewport</code> allows me to see all of its properties, when I try to access <code>viewport.nativeElement</code> I get undefined. Therefore when I try to access <code>viewport.nativeElement.children[1]</code> I get the error:</p>
  
  <pre><code>Cannot read property 'children' of undefined
  </code></pre>
  
  <p>I am trying to figure out:</p>
  
  <ol>
  <li>Why the <code>nativeElement</code> value is undefined when I can clearly see that the ElementRef has a value</li>
  <li>If there is a different way to access properties such as <code>getBoundingClientRect()</code> without using <code>nativeElement</code></li>
  </ol>