Angular 2 Cross Modules Communication: Simple EventAggregator

In the previous post I started with an overview of the problem and what sort of problem event aggregators solve. I will start with what I call simple event aggregator. Actually, it doesn’t fully comply to event aggregator pattern, however the objective is to understand the mechanics of event aggregators and how loosely coupled communication amongst…

Angular 2 Cross Modules Communication: EventAggregator Overview

Angular modules are becoming pivotal building blocks in Angular 2 architecture. With Angular 2-RC5 the NgModule is the decorator that defines an Angular module class. Modularity enables us to developed loosely coupled and extensible applications that are built to last and to change. A module encompasses components, templates, services, directives, etc.. into a cohesive block of functionality. Each angular…