From d552303cd5969bea00cc0bccbc0a7a5d20890237 Mon Sep 17 00:00:00 2001 From: PatrickJS Date: Fri, 3 Apr 2015 20:26:27 -0700 Subject: [PATCH] docs(02_directives.md): foreach -> for Closes #1235 --- modules/angular2/docs/core/02_directives.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/angular2/docs/core/02_directives.md b/modules/angular2/docs/core/02_directives.md index 2de6684e07..113ba6fb89 100644 --- a/modules/angular2/docs/core/02_directives.md +++ b/modules/angular2/docs/core/02_directives.md @@ -10,7 +10,7 @@ There are three different kinds of directives (described in more detail in later 1. *Decorators*: can be placed on any DOM element and can be combined with other directives. 2. *Components*: Components have an encapsulated view and can configure injectors. -3. *Viewport*: is responsible for adding or removing child views in a parent view. (i.e. foreach, if) +3. *Viewport*: is responsible for adding or removing child views in a parent view. (i.e. for, if) @@ -165,7 +165,7 @@ Example of usage: ## Viewport -Viewport is a directive which can control instantiation of child views which are then inserted into the DOM. (Examples are `if` and `foreach`.) +Viewport is a directive which can control instantiation of child views which are then inserted into the DOM. (Examples are `if` and `for`.) * Viewports can only be placed on `