Skip to content

Commit 8b6fa1c

Browse files
committed
doc: fix inline docs
1 parent 909233f commit 8b6fa1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/angular2/src/core/annotations_impl/view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class View {
6262
* directives: [For]
6363
* template: '
6464
* <ul>
65-
* <li *ng-for="item in items">{{item}}</li>
65+
* <li *ng-for="#item of items">{{item}}</li>
6666
* </ul>'
6767
* })
6868
* class MyComponent {

modules/angular2/src/directives/ng_for.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {ListWrapper} from 'angular2/src/facade/collection';
3131
* # Syntax
3232
*
3333
* - `<li *ng-for="#item of items; #i = index">...</li>`
34-
* - `<li template="ng-for #item ng-for-of items; #i=index">...</li>`
34+
* - `<li template="ng-for #item of items; #i=index">...</li>`
3535
* - `<template [ng-for]="#item" [ng-for-of]="items" #i="index"><li>...</li></template>`
3636
*
3737
* @exportedAs angular2/directives

0 commit comments

Comments
 (0)