Newer Version Available
Handling Application Events
Use <aura:handler> in the markup of the handler
component.
The action attribute of <aura:handler> sets the client-side controller action to handle the event. For example:
1<aura:handler event="c:appEvent" action="{!c.handleApplicationEvent}"/>When the event is fired, the handleApplicationEvent client-side controller action is called.