I have a child component \'my-component\' which is wrapped by a Directive \'MyDirective\' , I need to emit an event to parent directive from the child component, I know how to d
One approach is to use a template variable and reference it in an event handler: