I am wrapping the angular material menu component. I am extending the MatMenuTrigger, MatMenuItem, making them as separate directives and using it in parent component. In the child component(Menu component), i am only using the mat-menu for the getting the reference and in the parent component(Menu-demo component), attaching the menu(which is in child component) to whichever control we want. I should not use button tag inside the child component,so i used ng-content to the get content from the parent.I just want to expose some property to get that reference. Here my question is how to wrap this reference menu, stackblitzlink. Please help me out in this,thanks in advance.