Skip to content

Commit 1db6870

Browse files
PatrickJSvicb
authored andcommitted
docs(ng_for.ts): For => NgFor
1 parent c19c69f commit 1db6870

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/angular2/src/directives/ng_for.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import {isPresent, isBlank} from 'angular2/src/facade/lang';
44
import {ListWrapper} from 'angular2/src/facade/collection';
55

66
/**
7-
* The `For` directive instantiates a template once per item from an iterable. The context for each
8-
* instantiated template inherits from the outer context with the given loop variable set to the
9-
* current item from the iterable.
7+
* The `NgFor` directive instantiates a template once per item from an iterable. The context for
8+
* each instantiated template inherits from the outer context with the given loop variable set
9+
* to the current item from the iterable.
1010
*
1111
* It is possible to alias the `index` to a local variable that will be set to the current loop
1212
* iteration in the template context.
1313
*
14-
* When the contents of the iterator changes, `For` makes the corresponding changes to the DOM:
14+
* When the contents of the iterator changes, `NgFor` makes the corresponding changes to the DOM:
1515
*
1616
* * When an item is added, a new instance of the template is added to the DOM.
1717
* * When an item is removed, its template instance is removed from the DOM.

0 commit comments

Comments
 (0)