Angular 2 Cross Modules Communication: EventAggregator

In the previous post I covered the implementation of a simple event aggregator purely to demonstrate the key concepts of cross module communication as highlighted in the very first post. We concluded that the simple event aggregator is not DRY enough hence this post. In this final implementation again will utilise Rx to provide publish and subscribe functionalities,…

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…