diff --git a/modules/angular2/core.js b/modules/angular2/core.js index f761b87ea1..e1fa618601 100644 --- a/modules/angular2/core.js +++ b/modules/angular2/core.js @@ -8,7 +8,7 @@ export * from './src/core/compiler/compiler'; export * from './src/core/compiler/template_loader'; export * from './src/core/compiler/view'; -export * from './src/core/compiler/viewport'; +export * from './src/core/compiler/view_container'; export * from './src/core/compiler/binding_propagation_config'; export * from './src/core/dom/element'; diff --git a/modules/angular2/docs/core/02_directives.md b/modules/angular2/docs/core/02_directives.md index 730f0b368d..c95f0b33fc 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 mored detailed in la 1. *Decorators*: can be placed on any DOM element and can be combined with other directives. 2. *Components*: Components have encapsulated view and can configure injectors. -3. *Instantiator*: Is responsible for adding or removing child views in parent view. (i.e. foreach, if) +3. *Viewport*: Is responsible for adding or removing child views in parent view. (i.e. foreach, if) @@ -164,43 +164,43 @@ Example of usage: -## Instantiator +## Viewport -Instantiator is a directive which can controll instantiation of child views which are then inserted into the DOM. (Examples are `if` and `foreach`.) +Viewport is a directive which can controll instantiation of child views which are then inserted into the DOM. (Examples are `if` and `foreach`.) -* Instantiators can only be placed on `