Angular and Mediator Pattern: Decoupling Components