Skip to content

Commit

Permalink
Moved ngFor directive to <li> rather than <ul> (angular#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
PiusNyakoojo authored and davideast committed Jul 15, 2016
1 parent cdd502f commit 25ec67e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/1-install-and-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export class <MyApp>Component {
Open `/src/app/<my-app>.component.html`:

```html
<ul *ngFor="let item of items | async">
<li class="text">
<ul>
<li class="text" *ngFor="let item of items | async">
{{item.$value}}
</li>
</ul>
Expand Down

0 comments on commit 25ec67e

Please sign in to comment.