title: getBoundingClientRect() gives not a function error in angular8
body: <p>I have a canvas Element in a component.
  I have a separate js file where I get the element  by using 
  <code>angular.element( document.querySelector('#id') )</code>.</p>
  
  <p>Now what I want to know the Height and Width of the element.</p>