title: Resizing window size in angular 2
body: <p>I know that there are ways to get the width and height of the browser window. But what If I want to programmatically change the width or height. How do I do that?
  I have assigned a value in <code>window.innerWidth=500</code> and <code>window.innerHeight = 500</code>. But that does not help. What to do?</p>