zeqk
8/31/2017 - 5:50 PM

*ngFor https://angular.io/guide/displaying-data#showing-an-array-property-with-ngfor

<h1>{{title}}</h1>
  <h2>My favorite hero is: {{myHero}}</h2>
  <p>Heroes:</p>
  <ul>
    <li *ngFor="let hero of heroes">
      {{ hero }}
    </li>
  </ul>