Communicate between controllers in Angular by using a simple pubsub service in TypeScript.
I created a really simple angular PubSubService in TypeScript, to allow communication between controllers or directives or services. In the example below, controller 1, fires an event and controller 2 reacts to the