I have a Product component that represents data about product.
Near information is placed component Buttons with two buttons that allow to add product to favourit list and to wish list (FavouriteComponent, WishComponent).
My template representation is:
<app-product>
<app-buttons></app-buttons
</app-product>
Where to place components FavouriteComponent, WishComponent, inside <app-product> or inside <app-buttons>?
Where to write handler for button? Inside ButtonComponent or upper in parent component?
Could you explain me how to make right decicion?