title: Get image dimension in angular 2
body: <p>I am writing code to upload an image file. I need to know the dimensions(height and width) of the image that will be uploaded before I call the function to upload.</p>
  
  <p>Is there a way in angular 2 by which I can extract the image dimension? If so, how?</p>