docs(For): fix example to use for-of syntax

Closes #1572
This commit is contained in:
Pawel Kozlowski 2015-04-28 12:11:34 +02:00 committed by Misko Hevery
parent d4925b61ff
commit c0f3778dda
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ import {ListWrapper} from 'angular2/src/facade/collection';
*
* ```
* <ul>
* <li *for="#error in errors; #i = index">
* <li *for="#error of errors; #i = index">
* Error {{i}} of {{errors.length}}: {{error.message}}
* </li>
* </ul>