Angular–Creating hooks to window events

Recently I had an Angular component that needed to be manually sized based on the window’s size. Admittedly, this is pretty annoying, but the user experience was so much better than anything I could come up with using straight CSS. It worked fine to get the dimensions of the window and calculate the width and … [Read more…]