title: Angular 2: access an element from the Component, getDocumentById doesn't work
body: <p>I have an Angular 2 component where I want to retrieve an element div 
  <code>&lt;div id ="myId"&gt;</code> by its id.  I try doing: <code>document.getElementById("myId")</code> in my component (TypeScript), but i get an error: "cannot find name document".  I see that in other posts we can do something similar using @ViewChild, however I don't see how we can use this with a div, any ideas?</p>