How to Inject Document in Angular

Sometimes we just need to directly work with the DOM directly. I find this particularly so when doing things like scrolling to an element…