get data from event emitter code example Example: emitter angular <component (open)="open($event)" ></component>