title: Can't bind to 'ngIf' since it isn't a known property of 'table'
body: <p>I have tried many solution given here but it is not working.please help.
  My component.ts is working fine and is fetching values ,no error on console but nothing is being displayed on html page.</p>
  <p>attaching picture of html code.also writing it down</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!--&lt;app-customer-layout&gt;&lt;/app-customer-layout&gt;--&gt;
  &lt;div class="myContent"&gt;
    &lt;h4&gt;You have added the following products to the cart.&lt;/h4&gt;
    &lt;br /&gt;
    &lt;div class="table-responsive"&gt;
      &lt;table class="table" style="border:2px solid rgba(220,230,242,1);" *ngIf="products"&gt;
        &lt;tr style="background-color:rgba(220,230,242,1); font-size:12pt"&gt;
          &lt;th&gt;Product Name&lt;/th&gt;
          &lt;th&gt;Price&lt;/th&gt;
          &lt;th&gt;Quantity&lt;/th&gt;
          &lt;th&gt;Total Amount&lt;/th&gt;
          &lt;th style="text-align:center" colspan="2"&gt;Action(s)&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr *ngFor="let product of products" style="background-color:white"&gt;
          &lt;td&gt;{{product.ProductName}}&lt;/td&gt;
          &lt;td&gt;{{product.Price}}&lt;/td&gt;
          &lt;td&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{product.Quantity }}&amp;nbsp;&lt;/td&gt;
          &lt;td&gt;{{product.Price * product.Quantity}}&lt;/td&gt;
          &lt;&lt;!--td style="text-align:right"&gt;&lt;button title="Update Quantity" (click)="updateCart(product)" class="btn"&gt;Update Quantity&lt;/button&gt;&lt;/td&gt;
          &lt;td&gt;&lt;img title="Remove from cart" [src]="imageSrc" (click)="removeProductFromCart(product)"&gt;&lt;/td&gt;--&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
      &lt;div *ngIf="showError" style=""&gt;
        &lt;h4 class="jumbotron" style="text-align:center;"&gt;{{errorMsg}}&lt;/h4&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>]<a href="https://i.stack.imgur.com/XUvAJ.png" rel="nofollow noreferrer">1</a></p>