title: document.getElement by id returns null
body: <p>I am beginner angular 2</p>
  
  <p>Here is my input</p>
  
  <pre><code>&lt;input type="hidden" value={{date}} #myname/&gt;
  </code></pre>
  
  <p>Here is my code</p>
  
  <p><code>console.log(document.getElementById('myname'));</code> It's return <code>null</code></p>
  
  <p>why?</p>
  
  <p>Kindly Advise me,</p>
  
  <p>Thanks </p>