blog entry contains a code example that is not working
zoechi opened this issue · 0 comments
zoechi commented
http://angularjs.blogspot.co.at/2017/03/angular-400-now-available.html
<div *ngIf="userList | async as users; else loading">
<user-profile *ngFor="let user of users; count as count" [user]="user">
</user-profile>
<div>{{count}} total users</div> <!-- outside the scope of *ngFor -->
</div>
<ng-template #loading>Loading...</ng-template>count can only be used inside <user-profile>