Wrapping Angular components which has Parent/Child relationship
问题 I'm trying to wrap some third-party components with my own components (All of them are Angular 5 components). When using the third-party component (without wrapping them) I have the following code: <div> <xyz-menubar> <a xyzMenubarItem></a> <a xyzMenubarItem></a> </xyz-menubar> </div> My goal is to wrap these components to have the following code: <div> <app-menu> <app-menu-item></app-menu-item> <app-menu-item></app-menu-item> </app-menu> </div> This is how I coded the wrapped components (xyz