<aura:event type="COMPONENT" description="by this event we are pass the selected account in the parent component">
<aura:attribute name="accountByEvent" type="account"/>
</aura:event>