Usage example of PubSub in Angular 1.x applications
ControllerA
Counter: {{counter || 0}}
Unsubscribe
Send users data to ControllerC
ControllerB
Change Counter in ControllerA
-
+
ControllerC
Waiting data from ControllerA...
{{user.name}}