Home  >  Forum  >  Angular
Post New Query

*ngFor



Asked on April 01, 2018
Node.js by Brad Dayley Chapter 30
Please help:
<div class="item" *ngFor="let item of items">
    <rated-item [item]="item" [ratingsService]="ratingsService">
    </rated-item>
</div>
This *ngFor doesn't work. These sequence is from app.component.html
Listing 30.25
There entire ratings angular app doesn't work.
Thank you.




Replied on April 01, 2018
Is there any exception?


Replied on April 02, 2018
<div class="item">
    <rated-item [item]="item" [ratingsService]="ratingsService">
    </rated-item>
</div>


With this, in browser appears : rated-item works, with *ngFor doesn't


Write Answer







©2019 concretepage.com | Privacy Policy | Contact Us