<!-- Parent Component Template -->
<app-child>
<h2>Title</h2>
<p>Content to project</p>
</app-child>
<!-- Child Component Template -->
<div class="container">
<ng-content></ng-content>
</div>
<!-- Child Component Template -->
<div class="header">
<ng-content select=".header-slot"></ng-content>
</div>
<div class="content">
<ng-content select=".content-slot"></ng-content>
</div>
<!-- Parent Component Template -->
<app-child>
<ng-template let-showContent [ngIf]="showContent">
<p>Conditional content to project</p>
</ng-template>
</app-child>
<!-- Parent Component Template -->
<app-accordion>
<app-accordion-item>
<h3 slot="header">Section 1</h3>
<p slot="content">Content for section 1</p>
</app-accordion-item>
<app-accordion-item>
<h3 slot="header">Section 2</h3>
<p slot="content">Content for section 2</p>
</app-accordion-item>
</app-accordion>