Angular 6 References/ Templates


This is the documentation for Angular 6.
You can switch to the latest version Angular 10.

The Angular <ng-container> is a grouping element that doesn't interfere with styles or layout because Angular doesn't put it in the DOM.

  I turned the corner
  <ng-container *ngIf="hero">
    and saw {{}}. I waved
  and continued on my way.