We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 909233f commit 8b6fa1cCopy full SHA for 8b6fa1c
2 files changed
modules/angular2/src/core/annotations_impl/view.js
@@ -62,7 +62,7 @@ export class View {
62
* directives: [For]
63
* template: '
64
* <ul>
65
- * <li *ng-for="item in items">{{item}}</li>
+ * <li *ng-for="#item of items">{{item}}</li>
66
* </ul>'
67
* })
68
* class MyComponent {
modules/angular2/src/directives/ng_for.js
@@ -31,7 +31,7 @@ import {ListWrapper} from 'angular2/src/facade/collection';
31
* # Syntax
32
*
33
* - `<li *ng-for="#item of items; #i = index">...</li>`
34
- * - `<li template="ng-for #item ng-for-of items; #i=index">...</li>`
+ * - `<li template="ng-for #item of items; #i=index">...</li>`
35
* - `<template [ng-for]="#item" [ng-for-of]="items" #i="index"><li>...</li></template>`
36
37
* @exportedAs angular2/directives
0 commit comments