Hello, I can’t figure out how to avoid a code redundancy in my project. It seems like I can create components for header and footer, and yet, I need to ion-header and ion-footer in every page, otherwise code doesn’t behave as expected. Here is a page example:
<ion-header>
<navbar-component [title]="pageTitle"></navbar-component>
</ion-header>
<ion-content>
HOME
</ion-content>
<ion-footer>
<footer-component></footer-component>
</ion-footer>
Instead, I would like to have one main page with header and footer and pass into it a different content. Is it possible?