Angular directive

sra-resize source

This directive watches for window resize events and adjust the width and height of the parent element. If you used percentages for the sizing of all the children, then they will adjust accordingly as well. It is to be placed on the most outer element of the page that is not the body.