title: *ng-if not working inside ion-modal in ionic 5
body: <p>i am building a mobile app with ionic 5, when I try to call ion-modal that has an <code>*ng-If</code> in it, i would get this error</p>
  <pre><code>Can't bind to 'ngIf' since it isn't a known property of 'ion-header'.
  </code></pre>
  <p>The modal is a comment section in comment.page.ts, here is the code for the comment.page.html</p>
  <pre><code>&lt;ion-header class=&quot;ion-no-border&quot; *ngIf=&quot;!isLoading&quot;&gt;
      &lt;ion-toolbar&gt;
          &lt;ion-title class=&quot;centerAM&quot;&gt;{{no_comm | shortNumber}} comment{{no_comm&gt;1?'s':''}}&lt;/ion-title&gt;
      &lt;/ion-toolbar&gt;
  &lt;/ion-header&gt;
  
  &lt;ion-content&gt;
  ....
  </code></pre>
  <p>here is the code for the comment.module.ts</p>
  <pre><code>import { NgModule } from '@angular/core';
  import { IonicModule } from '@ionic/angular'; 
  import { CommonModule } from '@angular/common';
  import { FormsModule } from '@angular/forms';
  import { NgxEmojModule } from 'ngx-emoj';
  
  import { CommentPageRoutingModule } from './comment-routing.module';
  import { CommentPage } from './comment.page';
  import { PipesModule } from '../../pipes/pipes.module';
   
  @NgModule({
      imports: [
          CommonModule,
          NgxEmojModule,
          PipesModule,
          FormsModule,
          IonicModule,
          CommentPageRoutingModule
      ],
      schemas: [],
      declarations: [ CommentPage]    
  })
  export class CommentPageModule {}
  </code></pre>
  <p>here is the function that calls the modal from the home.page.ts</p>
  <pre><code>async CommentModal(i, id) {
      const modal = await this.modalCtrl.create({
          component: CommentPage,
          componentProps:{id},
          swipeToClose: true,
          cssClass: 'comment-modal'
      });
      await modal.present();
      return 
  }
  </code></pre>
  <p>If i should add the comment.module.ts in the home.module.ts or the app.module.ts, when the page loads, it will automatically load the modal without the user clicking anything, and i also removed the page from the route and it didn't work, please what am i doing wrong</p>