Refactoring Angular Components to Use the Require Mechanism This is the code that accompanies my video walkthrough. The latest commit shows the code after refactoring, see the initial commit for the "before" state.