Skip to content

Commit d552303

Browse files
PatrickJSpkozlowski-opensource
authored andcommitted
docs(02_directives.md): foreach -> for
Closes angular#1235
1 parent 1d4d18d commit d552303

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/angular2/docs/core/02_directives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ There are three different kinds of directives (described in more detail in later
1010

1111
1. *Decorators*: can be placed on any DOM element and can be combined with other directives.
1212
2. *Components*: Components have an encapsulated view and can configure injectors.
13-
3. *Viewport*: is responsible for adding or removing child views in a parent view. (i.e. foreach, if)
13+
3. *Viewport*: is responsible for adding or removing child views in a parent view. (i.e. for, if)
1414

1515

1616

@@ -165,7 +165,7 @@ Example of usage:
165165

166166
## Viewport
167167

168-
Viewport is a directive which can control instantiation of child views which are then inserted into the DOM. (Examples are `if` and `foreach`.)
168+
Viewport is a directive which can control instantiation of child views which are then inserted into the DOM. (Examples are `if` and `for`.)
169169

170170
* Viewports can only be placed on `<template>` elements (or the short hand version which uses `<element template>` attribute.)
171171
* Only one viewport can be present per DOM template element.

0 commit comments

Comments
 (0)