Skip to content

Commit 25ec67e

Browse files
PiusNyakoojodavideast
authored andcommitted
Moved ngFor directive to <li> rather than <ul> (angular#346)
1 parent cdd502f commit 25ec67e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/1-install-and-setup.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ export class <MyApp>Component {
190190
Open `/src/app/<my-app>.component.html`:
191191

192192
```html
193-
<ul *ngFor="let item of items | async">
194-
<li class="text">
193+
<ul>
194+
<li class="text" *ngFor="let item of items | async">
195195
{{item.$value}}
196196
</li>
197197
</ul>

0 commit comments

Comments
 (0)