After upgrading my Angular 2 code to the latest version, my application started to fail with the following error message:
Template parse warnings:
"#" inside of expressions is deprecated. Use "let" instead! ("
</thead>
<tbody>
<tr (click)="onSelect(application)" [ERROR ->]*ngFor="#application of applications">
<td>{{application.id}}</td>
The ngFor syntax has changed. We now use let item of items
instead of #item of items
inside *ngFor
.
For more information, check out the great post about ngFor by John Papa: https://johnpapa.net/angular-2-ngfor/