Replacing event listeners on document with custom event streams in Angular & RxJS for greater control

Dolphin blowing bubble underwater
Dolphin blowing bubble underwater
Photo by MattiaATH on Shutterstock

The Initial, Happy Scenario


Documenting my two-week struggle to get over far more hurdles than I ever expected

Hurdles lined up on a running track
Hurdles lined up on a running track
Image by Alohaflaminggo on shutterstock

Prologue


Using Directives and Dependency Injection to avoid unnecessary Component Inputs

Golden Retriever looking down hole
Golden Retriever looking down hole
Photo by Annette Shaff on shutterstock

The Scenario


A simple testing pattern for a scenario that can be a little tricky

Man looking at computer frustrated or confused
Man looking at computer frustrated or confused
Image by Oladimeji Ajegbile on Pexels

The Scenario

Michael Jacobson

Frontend Developer working with Angular since v0.3. I love solving problems and building cool stuff. I sweat the details because…I love the details.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store