how to create a event emmiter in angular code example Example: emitter angular <component (open)="open($event)" ></component>