Attribute factory function.
diff --git a/public/docs/js/latest/api/annotations/AttributeAnnotation-class.jade b/public/docs/js/latest/api/annotations/AttributeAnnotation-class.jade
index a7905ac4a7..2600000cb5 100644
--- a/public/docs/js/latest/api/annotations/AttributeAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/AttributeAnnotation-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations_impl/di.ts (line 3)
+ defined in angular2/src/core/annotations_impl/di.ts (line 3)
:markdown
Specifies that a constant attribute value should be injected.
diff --git a/public/docs/js/latest/api/annotations/AttributeFactory-interface.jade b/public/docs/js/latest/api/annotations/AttributeFactory-interface.jade
index a66f72befb..fb01b91a5e 100644
--- a/public/docs/js/latest/api/annotations/AttributeFactory-interface.jade
+++ b/public/docs/js/latest/api/annotations/AttributeFactory-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 242)
+ defined in angular2/src/core/annotations/decorators.ts (line 236)
:markdown
Attribute factory for creating annotations, decorators or DSL.
diff --git a/public/docs/js/latest/api/annotations/Class-function.jade b/public/docs/js/latest/api/annotations/Class-function.jade
index a1f678df18..0f707577e8 100644
--- a/public/docs/js/latest/api/annotations/Class-function.jade
+++ b/public/docs/js/latest/api/annotations/Class-function.jade
@@ -10,7 +10,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/util/decorators.ts (line 124)
+ defined in angular2/src/util/decorators.ts (line 119)
:markdown
Provides a way for expressing ES6 classes with parameter annotations in ES5.
diff --git a/public/docs/js/latest/api/annotations/ClassDefinition-interface.jade b/public/docs/js/latest/api/annotations/ClassDefinition-interface.jade
index ed413ab822..234db67c2b 100644
--- a/public/docs/js/latest/api/annotations/ClassDefinition-interface.jade
+++ b/public/docs/js/latest/api/annotations/ClassDefinition-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/util/decorators.ts (line 1)
+ defined in angular2/src/util/decorators.ts (line 1)
:markdown
Declares the interface to be used with Class.
diff --git a/public/docs/js/latest/api/annotations/Component-var.jade b/public/docs/js/latest/api/annotations/Component-var.jade
index b50d62444e..014622f834 100644
--- a/public/docs/js/latest/api/annotations/Component-var.jade
+++ b/public/docs/js/latest/api/annotations/Component-var.jade
@@ -3,7 +3,7 @@
h2 Component variable
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 350)
+ defined in angular2/src/core/annotations/decorators.ts (line 344)
:markdown
Component factory function.
diff --git a/public/docs/js/latest/api/annotations/ComponentAnnotation-class.jade b/public/docs/js/latest/api/annotations/ComponentAnnotation-class.jade
index b328aa08f6..c8dc4f5448 100644
--- a/public/docs/js/latest/api/annotations/ComponentAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/ComponentAnnotation-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations_impl/annotations.ts (line 782)
+ defined in angular2/src/core/annotations_impl/annotations.ts (line 778)
:markdown
Declare reusable UI building blocks for an application.
@@ -14,7 +14,7 @@ p.location-badge.
When a component is instantiated, Angular
- creates a shadow DOM for the component.
- loads the selected template into the shadow DOM.
- - creates all the injectable objects configured with `hostInjector` and `viewInjector`.
+ - creates all the injectable objects configured with `bindings` and `viewBindings`.
All template expressions and statements are then evaluated against the component instance.
@@ -57,17 +57,17 @@ p.location-badge.
pre.prettyprint
code.
- constructor({selector, properties, events, host, exportAs, lifecycle, hostInjector, viewInjector,
+ constructor({selector, properties, events, host, exportAs, lifecycle, bindings, viewBindings,
changeDetection = DEFAULT, compileChildren = true}?: {
selector?: string,
properties?: List<string>,
events?: List<string>,
host?: StringMap<string, string>,
lifecycle?: List<LifecycleEvent>,
- hostInjector?: List<any>,
+ bindings?: List<any>,
exportAs?: string,
compileChildren?: boolean,
- viewInjector?: List<any>,
+ viewBindings?: List<any>,
changeDetection?: string,
})
@@ -100,7 +100,7 @@ p.location-badge.
.l-sub-section
- h3 viewInjector
+ h3 viewBindings
:markdown
@@ -130,7 +130,7 @@ p.location-badge.
@Component({
selector: 'greet',
- viewInjector: [
+ viewBindings: [
Greeter
]
})
diff --git a/public/docs/js/latest/api/annotations/ComponentDecorator-interface.jade b/public/docs/js/latest/api/annotations/ComponentDecorator-interface.jade
index f50480762c..fbafe4a2d9 100644
--- a/public/docs/js/latest/api/annotations/ComponentDecorator-interface.jade
+++ b/public/docs/js/latest/api/annotations/ComponentDecorator-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 19)
+ defined in angular2/src/core/annotations/decorators.ts (line 13)
:markdown
Interface for the Component decorator function.
diff --git a/public/docs/js/latest/api/annotations/ComponentFactory-interface.jade b/public/docs/js/latest/api/annotations/ComponentFactory-interface.jade
index 32d78581b7..ed2feddc92 100644
--- a/public/docs/js/latest/api/annotations/ComponentFactory-interface.jade
+++ b/public/docs/js/latest/api/annotations/ComponentFactory-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 110)
+ defined in angular2/src/core/annotations/decorators.ts (line 104)
:markdown
ComponentAnnotation factory for creating annotations, decorators or DSL.
diff --git a/public/docs/js/latest/api/annotations/Directive-var.jade b/public/docs/js/latest/api/annotations/Directive-var.jade
index 8c3e86b410..722ebf43dc 100644
--- a/public/docs/js/latest/api/annotations/Directive-var.jade
+++ b/public/docs/js/latest/api/annotations/Directive-var.jade
@@ -3,7 +3,7 @@
h2 Directive variable
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 355)
+ defined in angular2/src/core/annotations/decorators.ts (line 349)
:markdown
Directive factory function.
diff --git a/public/docs/js/latest/api/annotations/DirectiveAnnotation-class.jade b/public/docs/js/latest/api/annotations/DirectiveAnnotation-class.jade
index fec3db925b..ada6217113 100644
--- a/public/docs/js/latest/api/annotations/DirectiveAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/DirectiveAnnotation-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations_impl/annotations.ts (line 4)
+ defined in angular2/src/core/annotations_impl/annotations.ts (line 4)
:markdown
Directives allow you to attach behavior to elements in the DOM.
@@ -53,11 +53,9 @@ p.location-badge.
To inject other directives, declare the constructor parameter as:
- `directive:DirectiveType`: a directive on the current element only
- - `@Ancestor() directive:DirectiveType`: any directive that matches the type between the current
+ - `@Host() directive:DirectiveType`: any directive that matches the type between the current
element and the
- Shadow DOM root. Current element is not included in the resolution, therefore even if it could
- resolve it, it will
- be ignored.
+ Shadow DOM root.
- `@Query(DirectiveType) query:QueryListDirective decorator function.
diff --git a/public/docs/js/latest/api/annotations/DirectiveFactory-interface.jade b/public/docs/js/latest/api/annotations/DirectiveFactory-interface.jade
index a2e2ea66ec..18533a6b00 100644
--- a/public/docs/js/latest/api/annotations/DirectiveFactory-interface.jade
+++ b/public/docs/js/latest/api/annotations/DirectiveFactory-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 57)
+ defined in angular2/src/core/annotations/decorators.ts (line 51)
:markdown
Directive factory for creating annotations, decorators or DSL.
diff --git a/public/docs/js/latest/api/annotations/LifecycleEvent-enum.jade b/public/docs/js/latest/api/annotations/LifecycleEvent-enum.jade
index 9f45ac1786..47089f5fb5 100644
--- a/public/docs/js/latest/api/annotations/LifecycleEvent-enum.jade
+++ b/public/docs/js/latest/api/annotations/LifecycleEvent-enum.jade
@@ -1,13 +1,166 @@
-Lifecycle events are guaranteed to be called in the following order:
-onChange (optional if any bindings have changed),onInit (optional after the first check only),onCheck,onAllChangesDoneView that contains it is destroyed.
+
+
+
+ ```
+ @Directive({
+ ...,
+ lifecycle: [LifecycleEvent.onDestroy]
+ })
+ class ClassSet {
+ onDestroy() {
+ // invoked to notify directive of the containing view destruction.
+ }
+ }
+ ```
+
+
+
+
+
+ .l-sub-section
+ h3 onChange
+
+
+ :markdown
+ Notify a directive when any of its bindings have changed.
+
+ This method is called right after the directive's bindings have been checked,
+ and before any of its children's bindings have been checked.
+
+ It is invoked only if at least one of the directive's bindings has changed.
+
+ :
+
+ ```
+ @Directive({
+ selector: '[class-set]',
+ properties: [
+ 'propA',
+ 'propB'
+ ],
+ lifecycle: [LifecycleEvent.onChange]
+ })
+ class ClassSet {
+ propA;
+ propB;
+ onChange(changes:{[idx: string, PropertyUpdate]}) {
+ // This will get called after any of the properties have been updated.
+ if (changes['propA']) {
+ // if propA was updated
+ }
+ if (changes['propA']) {
+ // if propB was updated
+ }
+ }
+ }
+ ```
+
+
+
+
+
+ .l-sub-section
+ h3 onCheck
+
+
+ :markdown
+ Notify a directive when it has been checked.
+
+ This method is called right after the directive's bindings have been checked,
+ and before any of its children's bindings have been checked.
+
+ It is invoked every time even when none of the directive's bindings has changed.
+
+ :
+
+ ```
+ @Directive({
+ selector: '[class-set]',
+ lifecycle: [LifecycleEvent.onCheck]
+ })
+ class ClassSet {
+ onCheck() {
+ }
+ }
+ ```
+
+
+
+
+
+ .l-sub-section
+ h3 onInit
+
+
+ :markdown
+ Notify a directive when it has been checked the first itme.
+
+ This method is called right after the directive's bindings have been checked,
+ and before any of its children's bindings have been checked.
+
+ It is invoked only once.
+
+ :
+
+ ```
+ @Directive({
+ selector: '[class-set]',
+ lifecycle: [LifecycleEvent.onInit]
+ })
+ class ClassSet {
+ onInit() {
+ }
+ }
+ ```
+
+
+
+
+
+ .l-sub-section
+ h3 onAllChangesDone
+
+
+ :markdown
+ Notify a directive when the bindings of all its children have been checked (whether they have
+ changed or not).
+
+ :
+
+ ```
+ @Directive({
+ selector: '[class-set]',
+ lifecycle: [LifecycleEvent.onAllChangesDone]
+ })
+ class ClassSet {
+
+ onAllChangesDone() {
+ }
+
+ }
+ ```
+
+
+
-Query factory function.
diff --git a/public/docs/js/latest/api/annotations/QueryAnnotation-class.jade b/public/docs/js/latest/api/annotations/QueryAnnotation-class.jade
index 1ef4678ae9..7c0383f317 100644
--- a/public/docs/js/latest/api/annotations/QueryAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/QueryAnnotation-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations_impl/di.ts (line 44)
+ defined in angular2/src/core/annotations_impl/di.ts (line 44)
:markdown
Specifies that a QueryList should be injected.
diff --git a/public/docs/js/latest/api/annotations/QueryFactory-interface.jade b/public/docs/js/latest/api/annotations/QueryFactory-interface.jade
index 8531d693a6..a0ddc421f1 100644
--- a/public/docs/js/latest/api/annotations/QueryFactory-interface.jade
+++ b/public/docs/js/latest/api/annotations/QueryFactory-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 293)
+ defined in angular2/src/core/annotations/decorators.ts (line 287)
:markdown
Query factory for creating annotations, decorators or DSL.
diff --git a/public/docs/js/latest/api/annotations/TypeDecorator-interface.jade b/public/docs/js/latest/api/annotations/TypeDecorator-interface.jade
index 47fc030da1..54a0b9a3c4 100644
--- a/public/docs/js/latest/api/annotations/TypeDecorator-interface.jade
+++ b/public/docs/js/latest/api/annotations/TypeDecorator-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/util/decorators.ts (line 22)
+ defined in angular2/src/util/decorators.ts (line 22)
:markdown
An interface implemented by all Angular type decorators, which allows them to be used as ES7
diff --git a/public/docs/js/latest/api/annotations/View-var.jade b/public/docs/js/latest/api/annotations/View-var.jade
index b370f50113..f803a5f7a4 100644
--- a/public/docs/js/latest/api/annotations/View-var.jade
+++ b/public/docs/js/latest/api/annotations/View-var.jade
@@ -3,7 +3,7 @@
h2 View variable
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 360)
+ defined in angular2/src/core/annotations/decorators.ts (line 354)
:markdown
View factory function.
diff --git a/public/docs/js/latest/api/annotations/ViewAnnotation-class.jade b/public/docs/js/latest/api/annotations/ViewAnnotation-class.jade
index 7842b62eb4..f539753b18 100644
--- a/public/docs/js/latest/api/annotations/ViewAnnotation-class.jade
+++ b/public/docs/js/latest/api/annotations/ViewAnnotation-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations_impl/view.ts (line 4)
+ defined in angular2/src/core/annotations_impl/view.ts (line 4)
:markdown
Declares the available HTML templates for an application.
@@ -163,8 +163,9 @@ p.location-badge.
:markdown
Specify how the template and the styles should be encapsulated.
- The default is ViewEncapsulation if the view has styles,
- otherwise ViewEncapsulation.
+ The default is `ViewEncapsulation.EMULATED` if the view
+ has styles,
+ otherwise `ViewEncapsulation.NONE`.
diff --git a/public/docs/js/latest/api/annotations/ViewDecorator-interface.jade b/public/docs/js/latest/api/annotations/ViewDecorator-interface.jade
index 34d7f01821..4bc38aeea6 100644
--- a/public/docs/js/latest/api/annotations/ViewDecorator-interface.jade
+++ b/public/docs/js/latest/api/annotations/ViewDecorator-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 38)
+ defined in angular2/src/core/annotations/decorators.ts (line 32)
:markdown
Interface for the View decorator function.
diff --git a/public/docs/js/latest/api/annotations/ViewEncapsulation-enum.jade b/public/docs/js/latest/api/annotations/ViewEncapsulation-enum.jade
index ccc46905d8..0560bacd61 100644
--- a/public/docs/js/latest/api/annotations/ViewEncapsulation-enum.jade
+++ b/public/docs/js/latest/api/annotations/ViewEncapsulation-enum.jade
@@ -1,7 +1,50 @@
-How the template and styles of a view should be encapsulated.
+p.location-badge. + exported from angular2/annotations + defined in angular2/src/render/api.ts (line 274) + +:markdown + How the template and styles of a view should be encapsulated. + + +.l-main-section + h2 Members + .l-sub-section + h3 EMULATED + + + :markdown + Emulate scoping of styles by preprocessing the style rules + and adding additional attributes to elements. This is the default. + + + + + + + + .l-sub-section + h3 NATIVE + + + :markdown + Uses the native mechanism of the renderer. For the DOM this means creating a ShadowRoot. + + + + + + + + .l-sub-section + h3 NONE + + + :markdown + Don't scope the template nor the styles. + + + + + -ViewAnnotation factory for creating annotations, decorators or DSL.
diff --git a/public/docs/js/latest/api/annotations/ViewQuery-var.jade b/public/docs/js/latest/api/annotations/ViewQuery-var.jade
index 56379714f9..8c049cbef9 100644
--- a/public/docs/js/latest/api/annotations/ViewQuery-var.jade
+++ b/public/docs/js/latest/api/annotations/ViewQuery-var.jade
@@ -3,7 +3,7 @@
h2 ViewQuery variable
p.location-badge.
exported from angular2/annotations
- defined in angular2/src/core/annotations/decorators.ts (line 377)
+ defined in angular2/src/core/annotations/decorators.ts (line 371)
:markdown
ViewQuery factory function.
diff --git a/public/docs/js/latest/api/annotations/_data.json b/public/docs/js/latest/api/annotations/_data.json
index c6a7598761..72bd4e985a 100644
--- a/public/docs/js/latest/api/annotations/_data.json
+++ b/public/docs/js/latest/api/annotations/_data.json
@@ -1,7 +1,7 @@
{
"index" : {
"title" : "Annotations",
- "intro" : "Annotations provide the additional information that Angular requires in order to run yourapplication. This modulecontains Component, Directive, and View annotations, as well asthe Ancestor annotation that is used by Angular to resolve dependencies."
+ "intro" : "Annotations provide the additional information that Angular requires in order to run yourapplication. This modulecontains Component, Directive, and View annotations, as well asthe Host annotation that is used by Angular to resolve dependencies."
},
"ComponentAnnotation-class" : {
@@ -60,10 +60,6 @@
"title" : "ClassDefinition Interface"
},
- "ParameterDecorator-interface" : {
- "title" : "ParameterDecorator Interface"
- },
-
"TypeDecorator-interface" : {
"title" : "TypeDecorator Interface"
},
diff --git a/public/docs/js/latest/api/annotations/index.jade b/public/docs/js/latest/api/annotations/index.jade
index c8c5ffdc90..b1d8dc3d99 100644
--- a/public/docs/js/latest/api/annotations/index.jade
+++ b/public/docs/js/latest/api/annotations/index.jade
@@ -1,5 +1,5 @@
p.location-badge.
- defined in angular2/annotations.ts (line 1)
+ defined in angular2/annotations.ts (line 1)
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
diff --git a/public/docs/js/latest/api/change_detection/BasePipe-class.jade b/public/docs/js/latest/api/change_detection/BasePipe-class.jade
index 3ab11c1e6c..79ae2780a2 100644
--- a/public/docs/js/latest/api/change_detection/BasePipe-class.jade
+++ b/public/docs/js/latest/api/change_detection/BasePipe-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/pipe.ts (line 58)
+ defined in angular2/src/change_detection/pipes/pipe.ts (line 58)
:markdown
Provides default implementation of `supports` and `onDestroy` method.
diff --git a/public/docs/js/latest/api/change_detection/CHECKED-const.jade b/public/docs/js/latest/api/change_detection/CHECKED-const.jade
index 4e84dd2051..5c756cda73 100644
--- a/public/docs/js/latest/api/change_detection/CHECKED-const.jade
+++ b/public/docs/js/latest/api/change_detection/CHECKED-const.jade
@@ -3,7 +3,7 @@
h2 CHECKED variable
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/constants.ts (line 13)
+ defined in angular2/src/change_detection/constants.ts (line 13)
:markdown
CHECKED means that the change detector should be skipped until its mode changes to
diff --git a/public/docs/js/latest/api/change_detection/CHECK_ALWAYS-const.jade b/public/docs/js/latest/api/change_detection/CHECK_ALWAYS-const.jade
index 54d272f734..7135638741 100644
--- a/public/docs/js/latest/api/change_detection/CHECK_ALWAYS-const.jade
+++ b/public/docs/js/latest/api/change_detection/CHECK_ALWAYS-const.jade
@@ -3,7 +3,7 @@
h2 CHECK_ALWAYS variable
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/constants.ts (line 19)
+ defined in angular2/src/change_detection/constants.ts (line 19)
:markdown
CHECK_ALWAYS means that after calling detectChanges the mode of the change detector
diff --git a/public/docs/js/latest/api/change_detection/CHECK_ONCE-const.jade b/public/docs/js/latest/api/change_detection/CHECK_ONCE-const.jade
index 2b74953a36..330e29bd39 100644
--- a/public/docs/js/latest/api/change_detection/CHECK_ONCE-const.jade
+++ b/public/docs/js/latest/api/change_detection/CHECK_ONCE-const.jade
@@ -3,7 +3,7 @@
h2 CHECK_ONCE variable
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/constants.ts (line 7)
+ defined in angular2/src/change_detection/constants.ts (line 7)
:markdown
CHECK_ONCE means that after calling detectChanges the mode of the change detector
diff --git a/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade
index 745246a0c4..bc83e7c75f 100644
--- a/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade
+++ b/public/docs/js/latest/api/change_detection/ChangeDetectionError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/exceptions.ts (line 18)
+ defined in angular2/src/change_detection/exceptions.ts (line 18)
:markdown
Thrown when an expression evaluation raises an exception.
diff --git a/public/docs/js/latest/api/change_detection/ChangeDetector-interface.jade b/public/docs/js/latest/api/change_detection/ChangeDetector-interface.jade
new file mode 100644
index 0000000000..c2e321f438
--- /dev/null
+++ b/public/docs/js/latest/api/change_detection/ChangeDetector-interface.jade
@@ -0,0 +1,193 @@
+
+p.location-badge.
+ exported from angular2/change_detection
+ defined in angular2/src/change_detection/interfaces.ts (line 48)
+
+:markdown
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 parent
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 mode
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 addChild
+
+
+ pre.prettyprint
+ code.
+ addChild(cd: ChangeDetector)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 addShadowDomChild
+
+
+ pre.prettyprint
+ code.
+ addShadowDomChild(cd: ChangeDetector)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeChild
+
+
+ pre.prettyprint
+ code.
+ removeChild(cd: ChangeDetector)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeShadowDomChild
+
+
+ pre.prettyprint
+ code.
+ removeShadowDomChild(cd: ChangeDetector)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 remove
+
+
+ pre.prettyprint
+ code.
+ remove()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 hydrate
+
+
+ pre.prettyprint
+ code.
+ hydrate(context: any, locals: Locals, directives: any, pipes: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 dehydrate
+
+
+ pre.prettyprint
+ code.
+ dehydrate()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 markPathToRootAsCheckOnce
+
+
+ pre.prettyprint
+ code.
+ markPathToRootAsCheckOnce()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 detectChanges
+
+
+ pre.prettyprint
+ code.
+ detectChanges()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 checkNoChanges
+
+
+ pre.prettyprint
+ code.
+ checkNoChanges()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade
index 61b0d64ce6..67e7743580 100644
--- a/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade
+++ b/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detector_ref.ts (line 2)
+ defined in angular2/src/change_detection/change_detector_ref.ts (line 2)
:markdown
Controls change detection.
diff --git a/public/docs/js/latest/api/change_detection/DEFAULT-const.jade b/public/docs/js/latest/api/change_detection/DEFAULT-const.jade
index 41858800e5..b7ce5ceec2 100644
--- a/public/docs/js/latest/api/change_detection/DEFAULT-const.jade
+++ b/public/docs/js/latest/api/change_detection/DEFAULT-const.jade
@@ -3,7 +3,7 @@
h2 DEFAULT variable
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/constants.ts (line 35)
+ defined in angular2/src/change_detection/constants.ts (line 35)
:markdown
DEFAULT means that the change detector's mode will be set to CHECK_ALWAYS during hydration.
diff --git a/public/docs/js/latest/api/change_detection/DETACHED-const.jade b/public/docs/js/latest/api/change_detection/DETACHED-const.jade
index f57aa6844b..e9915e1828 100644
--- a/public/docs/js/latest/api/change_detection/DETACHED-const.jade
+++ b/public/docs/js/latest/api/change_detection/DETACHED-const.jade
@@ -3,7 +3,7 @@
h2 DETACHED variable
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/constants.ts (line 25)
+ defined in angular2/src/change_detection/constants.ts (line 25)
:markdown
DETACHED means that the change detector sub tree is not a part of the main tree and
diff --git a/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade b/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade
index d57e295e5f..0635416a09 100644
--- a/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade
+++ b/public/docs/js/latest/api/change_detection/ExpressionChangedAfterItHasBeenCheckedException-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/exceptions.ts (line 2)
+ defined in angular2/src/change_detection/exceptions.ts (line 2)
:markdown
An error thrown if application changes model breaking the top-down data flow.
diff --git a/public/docs/js/latest/api/change_detection/Locals-class.jade b/public/docs/js/latest/api/change_detection/Locals-class.jade
new file mode 100644
index 0000000000..4ff643c163
--- /dev/null
+++ b/public/docs/js/latest/api/change_detection/Locals-class.jade
@@ -0,0 +1,112 @@
+
+p.location-badge.
+ exported from angular2/change_detection
+ defined in angular2/src/change_detection/parser/locals.ts (line 2)
+
+:markdown
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(parent: Locals, current: Map<any, any>)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 parent
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 current
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 contains
+
+
+ pre.prettyprint
+ code.
+ contains(name: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(name: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 set
+
+
+ pre.prettyprint
+ code.
+ set(name: string, value: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 clearValues
+
+
+ pre.prettyprint
+ code.
+ clearValues()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/change_detection/NullPipe-class.jade b/public/docs/js/latest/api/change_detection/NullPipe-class.jade
index 6c0ea8f046..ac16b4283a 100644
--- a/public/docs/js/latest/api/change_detection/NullPipe-class.jade
+++ b/public/docs/js/latest/api/change_detection/NullPipe-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/null_pipe.ts (line 10)
+ defined in angular2/src/change_detection/pipes/null_pipe.ts (line 10)
:markdown
diff --git a/public/docs/js/latest/api/change_detection/NullPipeFactory-class.jade b/public/docs/js/latest/api/change_detection/NullPipeFactory-class.jade
index 706ba7a775..151587ed22 100644
--- a/public/docs/js/latest/api/change_detection/NullPipeFactory-class.jade
+++ b/public/docs/js/latest/api/change_detection/NullPipeFactory-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/null_pipe.ts (line 3)
+ defined in angular2/src/change_detection/pipes/null_pipe.ts (line 3)
:markdown
diff --git a/public/docs/js/latest/api/change_detection/ON_PUSH-const.jade b/public/docs/js/latest/api/change_detection/ON_PUSH-const.jade
index fd9a6a966d..a5443d6fb0 100644
--- a/public/docs/js/latest/api/change_detection/ON_PUSH-const.jade
+++ b/public/docs/js/latest/api/change_detection/ON_PUSH-const.jade
@@ -3,7 +3,7 @@
h2 ON_PUSH variable
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/constants.ts (line 30)
+ defined in angular2/src/change_detection/constants.ts (line 30)
:markdown
ON_PUSH means that the change detector's mode will be set to CHECK_ONCE during hydration.
diff --git a/public/docs/js/latest/api/change_detection/Pipe-interface.jade b/public/docs/js/latest/api/change_detection/Pipe-interface.jade
index 8050440399..81e531ca49 100644
--- a/public/docs/js/latest/api/change_detection/Pipe-interface.jade
+++ b/public/docs/js/latest/api/change_detection/Pipe-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/pipe.ts (line 28)
+ defined in angular2/src/change_detection/pipes/pipe.ts (line 28)
:markdown
An interface which all pipes must implement.
diff --git a/public/docs/js/latest/api/change_detection/PipeFactory-interface.jade b/public/docs/js/latest/api/change_detection/PipeFactory-interface.jade
index fb471bc755..024735bff3 100644
--- a/public/docs/js/latest/api/change_detection/PipeFactory-interface.jade
+++ b/public/docs/js/latest/api/change_detection/PipeFactory-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/pipe.ts (line 78)
+ defined in angular2/src/change_detection/pipes/pipe.ts (line 78)
:markdown
diff --git a/public/docs/js/latest/api/change_detection/Pipes-class.jade b/public/docs/js/latest/api/change_detection/Pipes-class.jade
index bc71cb29a9..2073f42352 100644
--- a/public/docs/js/latest/api/change_detection/Pipes-class.jade
+++ b/public/docs/js/latest/api/change_detection/Pipes-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/pipes.ts (line 6)
+ defined in angular2/src/change_detection/pipes/pipes.ts (line 6)
:markdown
@@ -55,7 +55,7 @@ p.location-badge.
'json': [jsonPipeFactory]
}
@Component({
- viewInjector: [
+ viewBindings: [
bind(Pipes).toValue(new Pipes(pipesConfig))
]
})
diff --git a/public/docs/js/latest/api/change_detection/WrappedValue-class.jade b/public/docs/js/latest/api/change_detection/WrappedValue-class.jade
index 1e41064771..1eef6b3a3d 100644
--- a/public/docs/js/latest/api/change_detection/WrappedValue-class.jade
+++ b/public/docs/js/latest/api/change_detection/WrappedValue-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/change_detection
- defined in angular2/src/change_detection/pipes/pipe.ts (line 2)
+ defined in angular2/src/change_detection/pipes/pipe.ts (line 2)
:markdown
Indicates that the result of a Pipe transformation has changed even though the reference
diff --git a/public/docs/js/latest/api/change_detection/_data.json b/public/docs/js/latest/api/change_detection/_data.json
index 2731014397..96e1dd00a0 100644
--- a/public/docs/js/latest/api/change_detection/_data.json
+++ b/public/docs/js/latest/api/change_detection/_data.json
@@ -36,6 +36,14 @@
"title" : "ChangeDetectionError Class"
},
+ "ChangeDetector-interface" : {
+ "title" : "ChangeDetector Interface"
+ },
+
+ "Locals-class" : {
+ "title" : "Locals Class"
+ },
+
"ChangeDetectorRef-class" : {
"title" : "ChangeDetectorRef Class"
},
@@ -44,6 +52,10 @@
"title" : "WrappedValue Class"
},
+ "defaultPipes-const" : {
+ "title" : "defaultPipes Const"
+ },
+
"Pipe-interface" : {
"title" : "Pipe Interface"
},
diff --git a/public/docs/js/latest/api/change_detection/defaultPipes-const.jade b/public/docs/js/latest/api/change_detection/defaultPipes-const.jade
new file mode 100644
index 0000000000..81e3e2ee19
--- /dev/null
+++ b/public/docs/js/latest/api/change_detection/defaultPipes-const.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ h2 defaultPipes variable
+ p.location-badge.
+ exported from angular2/change_detection
+ defined in angular2/src/change_detection/change_detection.ts (line 129)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/change_detection/index.jade b/public/docs/js/latest/api/change_detection/index.jade
index e5641e1c2d..ba3bf56b29 100644
--- a/public/docs/js/latest/api/change_detection/index.jade
+++ b/public/docs/js/latest/api/change_detection/index.jade
@@ -1,5 +1,5 @@
p.location-badge.
- defined in angular2/change_detection.ts (line 1)
+ defined in angular2/change_detection.ts (line 1)
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
diff --git a/public/docs/js/latest/api/core/AppRootUrl-class.jade b/public/docs/js/latest/api/core/AppRootUrl-class.jade
index 7d8052c0ff..dfc814e70d 100644
--- a/public/docs/js/latest/api/core/AppRootUrl-class.jade
+++ b/public/docs/js/latest/api/core/AppRootUrl-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/services/app_root_url.ts (line 2)
+ defined in angular2/src/services/app_root_url.ts (line 2)
:markdown
Specifies app root url for the application.
diff --git a/public/docs/js/latest/api/core/AppViewManager-class.jade b/public/docs/js/latest/api/core/AppViewManager-class.jade
index 0af823d1a9..a496efd249 100644
--- a/public/docs/js/latest/api/core/AppViewManager-class.jade
+++ b/public/docs/js/latest/api/core/AppViewManager-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/view_manager.ts (line 17)
+ defined in angular2/src/core/compiler/view_manager.ts (line 18)
:markdown
Entry point for creating, moving views in the view hierarchy and destroying views.
diff --git a/public/docs/js/latest/api/core/ApplicationRef-class.jade b/public/docs/js/latest/api/core/ApplicationRef-class.jade
index 19cb3f2613..9f93e173cc 100644
--- a/public/docs/js/latest/api/core/ApplicationRef-class.jade
+++ b/public/docs/js/latest/api/core/ApplicationRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/application_common.ts (line 323)
+ defined in angular2/src/core/application_common.ts (line 329)
:markdown
Represents a Angular's representation of an Application.
diff --git a/public/docs/js/latest/api/core/Compiler-class.jade b/public/docs/js/latest/api/core/Compiler-class.jade
index 1e5f4e297d..fd3d84c140 100644
--- a/public/docs/js/latest/api/core/Compiler-class.jade
+++ b/public/docs/js/latest/api/core/Compiler-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/compiler.ts (line 60)
+ defined in angular2/src/core/compiler/compiler.ts (line 61)
:markdown
## URL Resolution
diff --git a/public/docs/js/latest/api/core/ComponentRef-class.jade b/public/docs/js/latest/api/core/ComponentRef-class.jade
index 916f672e7f..0f2e93bb12 100644
--- a/public/docs/js/latest/api/core/ComponentRef-class.jade
+++ b/public/docs/js/latest/api/core/ComponentRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 7)
+ defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 7)
:markdown
Angular's reference to a component instance.
diff --git a/public/docs/js/latest/api/core/ComponentUrlMapper-class.jade b/public/docs/js/latest/api/core/ComponentUrlMapper-class.jade
index 825725211d..a7b568d1d1 100644
--- a/public/docs/js/latest/api/core/ComponentUrlMapper-class.jade
+++ b/public/docs/js/latest/api/core/ComponentUrlMapper-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/component_url_mapper.ts (line 3)
+ defined in angular2/src/core/compiler/component_url_mapper.ts (line 3)
:markdown
Resolve a `Type` from a Component into a URL.
diff --git a/public/docs/js/latest/api/core/DirectiveResolver-class.jade b/public/docs/js/latest/api/core/DirectiveResolver-class.jade
index 0b43e91f10..cdda954a4d 100644
--- a/public/docs/js/latest/api/core/DirectiveResolver-class.jade
+++ b/public/docs/js/latest/api/core/DirectiveResolver-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/directive_resolver.ts (line 4)
+ defined in angular2/src/core/compiler/directive_resolver.ts (line 4)
:markdown
Resolve a `Type` for Directive.
diff --git a/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade b/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade
index fe9397bbf5..bd766641fa 100644
--- a/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade
+++ b/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 42)
+ defined in angular2/src/core/compiler/dynamic_component_loader.ts (line 42)
:markdown
Service for dynamically loading a Component into an arbitrary position in the internal Angular
diff --git a/public/docs/js/latest/api/core/ElementRef-class.jade b/public/docs/js/latest/api/core/ElementRef-class.jade
index 7baaf2a4ef..8e383f07ef 100644
--- a/public/docs/js/latest/api/core/ElementRef-class.jade
+++ b/public/docs/js/latest/api/core/ElementRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/element_ref.ts (line 3)
+ defined in angular2/src/core/compiler/element_ref.ts (line 3)
:markdown
Reference to the element.
diff --git a/public/docs/js/latest/api/core/EventEmitter-class.jade b/public/docs/js/latest/api/core/EventEmitter-class.jade
index 8ebdc96529..4cf05a38ff 100644
--- a/public/docs/js/latest/api/core/EventEmitter-class.jade
+++ b/public/docs/js/latest/api/core/EventEmitter-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/facade/async.ts (line 89)
+ defined in angular2/src/facade/async.ts (line 89)
:markdown
Use Rx.Observable but provides an adapter to make it work as specified here:
diff --git a/public/docs/js/latest/api/core/HostViewRef-interface.jade b/public/docs/js/latest/api/core/HostViewRef-interface.jade
index 01b1d3c330..fbe96d31bb 100644
--- a/public/docs/js/latest/api/core/HostViewRef-interface.jade
+++ b/public/docs/js/latest/api/core/HostViewRef-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/view_ref.ts (line 13)
+ defined in angular2/src/core/compiler/view_ref.ts (line 13)
:markdown
diff --git a/public/docs/js/latest/api/core/IQueryList-interface.jade b/public/docs/js/latest/api/core/IQueryList-interface.jade
index 0128ec184e..ba680fccac 100644
--- a/public/docs/js/latest/api/core/IQueryList-interface.jade
+++ b/public/docs/js/latest/api/core/IQueryList-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/interface_query.ts (line 1)
+ defined in angular2/src/core/compiler/interface_query.ts (line 1)
:markdown
An iterable live list of components in the Light DOM.
diff --git a/public/docs/js/latest/api/core/LifeCycle-class.jade b/public/docs/js/latest/api/core/LifeCycle-class.jade
new file mode 100644
index 0000000000..fc9d3547d7
--- /dev/null
+++ b/public/docs/js/latest/api/core/LifeCycle-class.jade
@@ -0,0 +1,86 @@
+
+p.location-badge.
+ exported from angular2/core
+ defined in angular2/src/core/life_cycle/life_cycle.ts (line 5)
+
+:markdown
+ Provides access to explicitly trigger change detection in an application.
+
+ By default, `Zone` triggers change detection in Angular on each virtual machine (VM) turn. When
+ testing, or in some
+ limited application use cases, a developer can also trigger change detection with the
+ `lifecycle.tick()` method.
+
+ Each Angular application has a single `LifeCycle` instance.
+
+ # Example
+
+ This is a contrived example, since the bootstrap automatically runs inside of the `Zone`, which
+ invokes
+ `lifecycle.tick()` on your behalf.
+
+ ```javascript
+ bootstrap(MyApp).then((ref:ComponentRef) => {
+ var lifeCycle = ref.injector.get(LifeCycle);
+ var myApp = ref.instance;
+
+ ref.doSomething();
+ lifecycle.tick();
+ });
+ ```
+
+
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(changeDetector?: ChangeDetector, enforceNoNewChanges?: boolean)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 tick
+
+
+ pre.prettyprint
+ code.
+ tick()
+
+ :markdown
+ Invoke this method to explicitly process change detection and its side-effects.
+
+ In development mode, `tick()` also performs a second change detection cycle to ensure that no
+ further
+ changes are detected. If additional changes are picked up during this second cycle, bindings
+ in
+ the app have
+ side-effects that cannot be resolved in a single change detection pass. In this case, Angular
+ throws an error,
+ since an Angular application can only have one change detection pass during which all change
+ detection must
+ complete.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgZone-class.jade b/public/docs/js/latest/api/core/NgZone-class.jade
index b9ff536a0a..9068d50dac 100644
--- a/public/docs/js/latest/api/core/NgZone-class.jade
+++ b/public/docs/js/latest/api/core/NgZone-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/zone/ng_zone.ts (line 4)
+ defined in angular2/src/core/zone/ng_zone.ts (line 6)
:markdown
A wrapper around zones that lets you schedule tasks after it has executed a task.
diff --git a/public/docs/js/latest/api/core/Observable-class.jade b/public/docs/js/latest/api/core/Observable-class.jade
index 6bdbb25d47..7002e9d03a 100644
--- a/public/docs/js/latest/api/core/Observable-class.jade
+++ b/public/docs/js/latest/api/core/Observable-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/facade/async.ts (line 84)
+ defined in angular2/src/facade/async.ts (line 84)
:markdown
diff --git a/public/docs/js/latest/api/core/ProtoViewRef-class.jade b/public/docs/js/latest/api/core/ProtoViewRef-class.jade
index 962993d6e4..20e5512421 100644
--- a/public/docs/js/latest/api/core/ProtoViewRef-class.jade
+++ b/public/docs/js/latest/api/core/ProtoViewRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/view_ref.ts (line 91)
+ defined in angular2/src/core/compiler/view_ref.ts (line 91)
:markdown
A reference to an Angular ProtoView.
diff --git a/public/docs/js/latest/api/core/QueryList-class.jade b/public/docs/js/latest/api/core/QueryList-class.jade
index 90e8ced7fe..efa7b27af2 100644
--- a/public/docs/js/latest/api/core/QueryList-class.jade
+++ b/public/docs/js/latest/api/core/QueryList-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/query_list.ts (line 2)
+ defined in angular2/src/core/compiler/query_list.ts (line 2)
:markdown
Injectable Objects that contains a live list of child directives in the light Dom of a directive.
diff --git a/public/docs/js/latest/api/core/RenderElementRef-interface.jade b/public/docs/js/latest/api/core/RenderElementRef-interface.jade
index 077454775a..e6d495fc7e 100644
--- a/public/docs/js/latest/api/core/RenderElementRef-interface.jade
+++ b/public/docs/js/latest/api/core/RenderElementRef-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/render/api.ts (line 377)
+ defined in angular2/src/render/api.ts (line 377)
:markdown
Abstract reference to the element which can be marshaled across web-worker boundary.
diff --git a/public/docs/js/latest/api/core/TemplateRef-class.jade b/public/docs/js/latest/api/core/TemplateRef-class.jade
index 3cde3b3d21..02084d71be 100644
--- a/public/docs/js/latest/api/core/TemplateRef-class.jade
+++ b/public/docs/js/latest/api/core/TemplateRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/template_ref.ts (line 3)
+ defined in angular2/src/core/compiler/template_ref.ts (line 3)
:markdown
Reference to a template within a component.
diff --git a/public/docs/js/latest/api/core/Type-interface.jade b/public/docs/js/latest/api/core/Type-interface.jade
new file mode 100644
index 0000000000..65cc054e1f
--- /dev/null
+++ b/public/docs/js/latest/api/core/Type-interface.jade
@@ -0,0 +1,11 @@
+
+p.location-badge.
+ exported from angular2/core
+ defined in angular2/src/facade/lang.ts (line 5)
+
+:markdown
+ Runtime representation of a type.
+
+ In JavaScript a Type is a constructor function.
+
+
diff --git a/public/docs/js/latest/api/core/UrlResolver-class.jade b/public/docs/js/latest/api/core/UrlResolver-class.jade
index fed3e518ef..fa204ab518 100644
--- a/public/docs/js/latest/api/core/UrlResolver-class.jade
+++ b/public/docs/js/latest/api/core/UrlResolver-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/services/url_resolver.ts (line 9)
+ defined in angular2/src/services/url_resolver.ts (line 9)
:markdown
Used by the Compiler when resolving HTML and CSS template URLs.
diff --git a/public/docs/js/latest/api/core/ViewContainerRef-class.jade b/public/docs/js/latest/api/core/ViewContainerRef-class.jade
index 48b575fc48..7ddc36127c 100644
--- a/public/docs/js/latest/api/core/ViewContainerRef-class.jade
+++ b/public/docs/js/latest/api/core/ViewContainerRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/view_container_ref.ts (line 10)
+ defined in angular2/src/core/compiler/view_container_ref.ts (line 10)
:markdown
A location where ViewRefs can be attached.
diff --git a/public/docs/js/latest/api/core/ViewRef-class.jade b/public/docs/js/latest/api/core/ViewRef-class.jade
index 116fd49724..c8c55e2336 100644
--- a/public/docs/js/latest/api/core/ViewRef-class.jade
+++ b/public/docs/js/latest/api/core/ViewRef-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/compiler/view_ref.ts (line 15)
+ defined in angular2/src/core/compiler/view_ref.ts (line 15)
:markdown
A reference to an Angular View.
diff --git a/public/docs/js/latest/api/core/_data.json b/public/docs/js/latest/api/core/_data.json
index ef651921e9..d5089abf10 100644
--- a/public/docs/js/latest/api/core/_data.json
+++ b/public/docs/js/latest/api/core/_data.json
@@ -12,6 +12,10 @@
"title" : "ApplicationRef Class"
},
+ "Type-interface" : {
+ "title" : "Type Interface"
+ },
+
"AppRootUrl-class" : {
"title" : "AppRootUrl Class"
},
@@ -48,6 +52,10 @@
"title" : "DynamicComponentLoader Class"
},
+ "LifeCycle-class" : {
+ "title" : "LifeCycle Class"
+ },
+
"ElementRef-class" : {
"title" : "ElementRef Class"
},
diff --git a/public/docs/js/latest/api/core/appComponentTypeToken-const.jade b/public/docs/js/latest/api/core/appComponentTypeToken-const.jade
index 0317bfbbcf..ae3ffbae01 100644
--- a/public/docs/js/latest/api/core/appComponentTypeToken-const.jade
+++ b/public/docs/js/latest/api/core/appComponentTypeToken-const.jade
@@ -3,7 +3,7 @@
h2 appComponentTypeToken variable
p.location-badge.
exported from angular2/core
- defined in angular2/src/core/application_tokens.ts (line 25)
+ defined in angular2/src/core/application_tokens.ts (line 25)
:markdown
An opaque token representing the application root type in the Injector.
diff --git a/public/docs/js/latest/api/core/index.jade b/public/docs/js/latest/api/core/index.jade
index 1ce1c599fe..6717e1d3d1 100644
--- a/public/docs/js/latest/api/core/index.jade
+++ b/public/docs/js/latest/api/core/index.jade
@@ -1,5 +1,5 @@
p.location-badge.
- defined in angular2/core.ts (line 1)
+ defined in angular2/core.ts (line 1)
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
diff --git a/public/docs/js/latest/api/di/AbstractBindingError-class.jade b/public/docs/js/latest/api/di/AbstractBindingError-class.jade
index 44ed794acf..13bf8e5d01 100644
--- a/public/docs/js/latest/api/di/AbstractBindingError-class.jade
+++ b/public/docs/js/latest/api/di/AbstractBindingError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 27)
+ defined in angular2/src/di/exceptions.ts (line 27)
:markdown
Base class for all errors arising from misconfigured bindings.
diff --git a/public/docs/js/latest/api/di/Ancestor-var.jade b/public/docs/js/latest/api/di/Ancestor-var.jade
deleted file mode 100644
index 616661b9bf..0000000000
--- a/public/docs/js/latest/api/di/Ancestor-var.jade
+++ /dev/null
@@ -1,12 +0,0 @@
-
-.l-main-section
- h2 Ancestor variable
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 83)
-
- :markdown
- Factory for creating AncestorMetadata.
-
-
-
diff --git a/public/docs/js/latest/api/di/AncestorFactory-interface.jade b/public/docs/js/latest/api/di/AncestorFactory-interface.jade
deleted file mode 100644
index 9120ca429e..0000000000
--- a/public/docs/js/latest/api/di/AncestorFactory-interface.jade
+++ /dev/null
@@ -1,9 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 42)
-
-:markdown
- Factory for creating AncestorMetadata.
-
-
diff --git a/public/docs/js/latest/api/di/AncestorMetadata-class.jade b/public/docs/js/latest/api/di/AncestorMetadata-class.jade
deleted file mode 100644
index 9d12c3f71b..0000000000
--- a/public/docs/js/latest/api/di/AncestorMetadata-class.jade
+++ /dev/null
@@ -1,79 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 123)
-
-:markdown
- Specifies that an injector should retrieve a dependency from any ancestor from the same boundary.
-
- ## Example
-
- ```
- class Dependency {
- }
-
- class NeedsDependency {
- constructor(public @Ancestor() dependency:Dependency) {}
- }
-
- var parent = Injector.resolveAndCreate([
- bind(Dependency).toClass(AncestorDependency)
- ]);
- var child = parent.resolveAndCreateChild([]);
- var grandChild = child.resolveAndCreateChild([NeedsDependency, Depedency]);
- var nd = grandChild.get(NeedsDependency);
- expect(nd.dependency).toBeAnInstanceOf(AncestorDependency);
- ```
-
- You can make an injector to retrive a dependency either from itself or its ancestor by setting
- self to true.
-
- ```
- class NeedsDependency {
- constructor(public @Ancestor({self:true}) dependency:Dependency) {}
- }
- ```
-
-
-
-.l-main-section
- h2 Annotations
- .l-sub-section
- h3.annotation CONST
- pre.prettyprint
- code.
- @CONST()
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor({self}?: {self?: boolean})
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/Binding-class.jade b/public/docs/js/latest/api/di/Binding-class.jade
index c529b2958f..89d597b163 100644
--- a/public/docs/js/latest/api/di/Binding-class.jade
+++ b/public/docs/js/latest/api/di/Binding-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/binding.ts (line 37)
+ defined in angular2/src/di/binding.ts (line 36)
:markdown
Describes how the Injector should instantiate a given token.
diff --git a/public/docs/js/latest/api/di/BindingBuilder-class.jade b/public/docs/js/latest/api/di/BindingBuilder-class.jade
index 61496fd21c..c5d72a2152 100644
--- a/public/docs/js/latest/api/di/BindingBuilder-class.jade
+++ b/public/docs/js/latest/api/di/BindingBuilder-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/binding.ts (line 259)
+ defined in angular2/src/di/binding.ts (line 258)
:markdown
Helper class for the bind function.
diff --git a/public/docs/js/latest/api/di/BindingWithVisibility-class.jade b/public/docs/js/latest/api/di/BindingWithVisibility-class.jade
index c81a3ea570..189d8fe9f0 100644
--- a/public/docs/js/latest/api/di/BindingWithVisibility-class.jade
+++ b/public/docs/js/latest/api/di/BindingWithVisibility-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/injector.ts (line 357)
+ defined in angular2/src/di/injector.ts (line 357)
:markdown
diff --git a/public/docs/js/latest/api/di/CyclicDependencyError-class.jade b/public/docs/js/latest/api/di/CyclicDependencyError-class.jade
index 49b7f0ca01..fa9b0baf5a 100644
--- a/public/docs/js/latest/api/di/CyclicDependencyError-class.jade
+++ b/public/docs/js/latest/api/di/CyclicDependencyError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 71)
+ defined in angular2/src/di/exceptions.ts (line 71)
:markdown
Thrown when dependencies form a cycle.
diff --git a/public/docs/js/latest/api/di/DEFAULT_VISIBILITY-const.jade b/public/docs/js/latest/api/di/DEFAULT_VISIBILITY-const.jade
deleted file mode 100644
index e926476249..0000000000
--- a/public/docs/js/latest/api/di/DEFAULT_VISIBILITY-const.jade
+++ /dev/null
@@ -1,11 +0,0 @@
-
-.l-main-section
- h2 DEFAULT_VISIBILITY variable
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 199)
-
- :markdown
-
-
-
diff --git a/public/docs/js/latest/api/di/Dependency-class.jade b/public/docs/js/latest/api/di/Dependency-class.jade
index f9b861a461..2c3bd2a3a8 100644
--- a/public/docs/js/latest/api/di/Dependency-class.jade
+++ b/public/docs/js/latest/api/di/Dependency-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/binding.ts (line 23)
+ defined in angular2/src/di/binding.ts (line 24)
:markdown
@@ -13,7 +13,7 @@ p.location-badge.
pre.prettyprint
code.
- constructor(key: Key, optional: boolean, visibility: VisibilityMetadata, properties: List<any>)
+ constructor(key: Key, optional: boolean, lowerBoundVisibility: any, upperBoundVisibility: any, properties: List<any>)
:markdown
@@ -47,7 +47,19 @@ p.location-badge.
.l-sub-section
- h3 visibility
+ h3 lowerBoundVisibility
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 upperBoundVisibility
:markdown
diff --git a/public/docs/js/latest/api/di/DependencyMetadata-class.jade b/public/docs/js/latest/api/di/DependencyMetadata-class.jade
index bf206054fe..cdba2ae5e6 100644
--- a/public/docs/js/latest/api/di/DependencyMetadata-class.jade
+++ b/public/docs/js/latest/api/di/DependencyMetadata-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 34)
+ defined in angular2/src/di/metadata.ts (line 34)
:markdown
`DependencyMetadata is used by the framework to extend DI.
diff --git a/public/docs/js/latest/api/di/DependencyProvider-interface.jade b/public/docs/js/latest/api/di/DependencyProvider-interface.jade
index 101a0232f1..bbd6277e77 100644
--- a/public/docs/js/latest/api/di/DependencyProvider-interface.jade
+++ b/public/docs/js/latest/api/di/DependencyProvider-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/injector.ts (line 363)
+ defined in angular2/src/di/injector.ts (line 363)
:markdown
Used to provide dependencies that cannot be easily expressed as bindings.
diff --git a/public/docs/js/latest/api/di/ForwardRefFn-interface.jade b/public/docs/js/latest/api/di/ForwardRefFn-interface.jade
index f8b8afc6af..5af0eb76fa 100644
--- a/public/docs/js/latest/api/di/ForwardRefFn-interface.jade
+++ b/public/docs/js/latest/api/di/ForwardRefFn-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/forward_ref.ts (line 1)
+ defined in angular2/src/di/forward_ref.ts (line 1)
:markdown
diff --git a/public/docs/js/latest/api/di/Host-var.jade b/public/docs/js/latest/api/di/Host-var.jade
new file mode 100644
index 0000000000..cf89ea884e
--- /dev/null
+++ b/public/docs/js/latest/api/di/Host-var.jade
@@ -0,0 +1,12 @@
+
+.l-main-section
+ h2 Host variable
+ p.location-badge.
+ exported from angular2/di
+ defined in angular2/src/di/decorators.ts (line 82)
+
+ :markdown
+ Factory for creating HostMetadata.
+
+
+
diff --git a/public/docs/js/latest/api/di/HostFactory-interface.jade b/public/docs/js/latest/api/di/HostFactory-interface.jade
new file mode 100644
index 0000000000..874ebd5cb4
--- /dev/null
+++ b/public/docs/js/latest/api/di/HostFactory-interface.jade
@@ -0,0 +1,9 @@
+
+p.location-badge.
+ exported from angular2/di
+ defined in angular2/src/di/decorators.ts (line 41)
+
+:markdown
+ Factory for creating HostMetadata.
+
+
diff --git a/public/docs/js/latest/api/di/UnboundedMetadata-class.jade b/public/docs/js/latest/api/di/HostMetadata-class.jade
similarity index 53%
rename from public/docs/js/latest/api/di/UnboundedMetadata-class.jade
rename to public/docs/js/latest/api/di/HostMetadata-class.jade
index 76089ba362..4c56e43c44 100644
--- a/public/docs/js/latest/api/di/UnboundedMetadata-class.jade
+++ b/public/docs/js/latest/api/di/HostMetadata-class.jade
@@ -1,10 +1,11 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 160)
+ defined in angular2/src/di/metadata.ts (line 138)
:markdown
- Specifies that an injector should retrieve a dependency from any ancestor, crossing boundaries.
+ Specifies that an injector should retrieve a dependency from any injector until reaching the
+ closest host.
## Example
@@ -13,25 +14,16 @@ p.location-badge.
}
class NeedsDependency {
- constructor(public @Ancestor() dependency:Dependency) {}
+ constructor(public @Host() dependency:Dependency) {}
}
var parent = Injector.resolveAndCreate([
- bind(Dependency).toClass(AncestorDependency)
+ bind(Dependency).toClass(HostDependency)
]);
var child = parent.resolveAndCreateChild([]);
var grandChild = child.resolveAndCreateChild([NeedsDependency, Depedency]);
var nd = grandChild.get(NeedsDependency);
- expect(nd.dependency).toBeAnInstanceOf(AncestorDependency);
- ```
-
- You can make an injector to retrive a dependency either from itself or its ancestor by setting
- self to true.
-
- ```
- class NeedsDependency {
- constructor(public @Ancestor({self:true}) dependency:Dependency) {}
- }
+ expect(nd.dependency).toBeAnInstanceOf(HostDependency);
```
@@ -47,21 +39,6 @@ p.location-badge.
.l-main-section
h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor({self}?: {self?: boolean})
-
- :markdown
-
-
-
-
-
-
.l-sub-section
h3 toString
diff --git a/public/docs/js/latest/api/di/Inject-var.jade b/public/docs/js/latest/api/di/Inject-var.jade
index 58c86e598b..515780d48e 100644
--- a/public/docs/js/latest/api/di/Inject-var.jade
+++ b/public/docs/js/latest/api/di/Inject-var.jade
@@ -3,7 +3,7 @@
h2 Inject variable
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 63)
+ defined in angular2/src/di/decorators.ts (line 62)
:markdown
Factory for creating InjectMetadata.
diff --git a/public/docs/js/latest/api/di/InjectFactory-interface.jade b/public/docs/js/latest/api/di/InjectFactory-interface.jade
index 078072c90d..ccda32ad05 100644
--- a/public/docs/js/latest/api/di/InjectFactory-interface.jade
+++ b/public/docs/js/latest/api/di/InjectFactory-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 10)
+ defined in angular2/src/di/decorators.ts (line 9)
:markdown
Factory for creating InjectMetadata.
diff --git a/public/docs/js/latest/api/di/InjectMetadata-class.jade b/public/docs/js/latest/api/di/InjectMetadata-class.jade
index cbfd676d7d..b5a0913bd6 100644
--- a/public/docs/js/latest/api/di/InjectMetadata-class.jade
+++ b/public/docs/js/latest/api/di/InjectMetadata-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 1)
+ defined in angular2/src/di/metadata.ts (line 1)
:markdown
A parameter metadata that specifies a dependency.
diff --git a/public/docs/js/latest/api/di/Injectable-var.jade b/public/docs/js/latest/api/di/Injectable-var.jade
index 9f7540ccea..53fae8ab4c 100644
--- a/public/docs/js/latest/api/di/Injectable-var.jade
+++ b/public/docs/js/latest/api/di/Injectable-var.jade
@@ -3,7 +3,7 @@
h2 Injectable variable
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 73)
+ defined in angular2/src/di/decorators.ts (line 72)
:markdown
Factory for creating InjectableMetadata.
diff --git a/public/docs/js/latest/api/di/InjectableFactory-interface.jade b/public/docs/js/latest/api/di/InjectableFactory-interface.jade
index 6e677dbbc7..fd0f75f761 100644
--- a/public/docs/js/latest/api/di/InjectableFactory-interface.jade
+++ b/public/docs/js/latest/api/di/InjectableFactory-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 26)
+ defined in angular2/src/di/decorators.ts (line 25)
:markdown
Factory for creating InjectableMetadata.
diff --git a/public/docs/js/latest/api/di/InjectableMetadata-class.jade b/public/docs/js/latest/api/di/InjectableMetadata-class.jade
index 60b94b370e..625e22f00d 100644
--- a/public/docs/js/latest/api/di/InjectableMetadata-class.jade
+++ b/public/docs/js/latest/api/di/InjectableMetadata-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 65)
+ defined in angular2/src/di/metadata.ts (line 65)
:markdown
A marker metadata that marks a class as available to `Injector` for creation. Used by tooling
diff --git a/public/docs/js/latest/api/di/Injector-class.jade b/public/docs/js/latest/api/di/Injector-class.jade
index 8f3784f958..e09bd17d00 100644
--- a/public/docs/js/latest/api/di/Injector-class.jade
+++ b/public/docs/js/latest/api/di/Injector-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/injector.ts (line 370)
+ defined in angular2/src/di/injector.ts (line 370)
:markdown
A dependency injection container used for resolving dependencies.
diff --git a/public/docs/js/latest/api/di/InstantiationError-class.jade b/public/docs/js/latest/api/di/InstantiationError-class.jade
index 72335827b0..96ae9d587e 100644
--- a/public/docs/js/latest/api/di/InstantiationError-class.jade
+++ b/public/docs/js/latest/api/di/InstantiationError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 95)
+ defined in angular2/src/di/exceptions.ts (line 95)
:markdown
Thrown when a constructing type returns with an Error.
diff --git a/public/docs/js/latest/api/di/InvalidBindingError-class.jade b/public/docs/js/latest/api/di/InvalidBindingError-class.jade
index ed7d5cc57c..612f64892f 100644
--- a/public/docs/js/latest/api/di/InvalidBindingError-class.jade
+++ b/public/docs/js/latest/api/di/InvalidBindingError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 113)
+ defined in angular2/src/di/exceptions.ts (line 113)
:markdown
Thrown when an object other then Binding (or `Type`) is passed to Injector
diff --git a/public/docs/js/latest/api/di/Key-class.jade b/public/docs/js/latest/api/di/Key-class.jade
index bdf741dc62..cf14476157 100644
--- a/public/docs/js/latest/api/di/Key-class.jade
+++ b/public/docs/js/latest/api/di/Key-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/key.ts (line 6)
+ defined in angular2/src/di/key.ts (line 6)
:markdown
A unique object used for retrieving items from the Injector.
diff --git a/public/docs/js/latest/api/di/KeyRegistry-class.jade b/public/docs/js/latest/api/di/KeyRegistry-class.jade
index 8433429a30..6926ae8a80 100644
--- a/public/docs/js/latest/api/di/KeyRegistry-class.jade
+++ b/public/docs/js/latest/api/di/KeyRegistry-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/key.ts (line 39)
+ defined in angular2/src/di/key.ts (line 39)
:markdown
diff --git a/public/docs/js/latest/api/di/NoAnnotationError-class.jade b/public/docs/js/latest/api/di/NoAnnotationError-class.jade
index e933a9683e..d8b9bcb4b6 100644
--- a/public/docs/js/latest/api/di/NoAnnotationError-class.jade
+++ b/public/docs/js/latest/api/di/NoAnnotationError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 128)
+ defined in angular2/src/di/exceptions.ts (line 128)
:markdown
Thrown when the class has no annotation information.
diff --git a/public/docs/js/latest/api/di/NoBindingError-class.jade b/public/docs/js/latest/api/di/NoBindingError-class.jade
index 0a446403b3..4853656c70 100644
--- a/public/docs/js/latest/api/di/NoBindingError-class.jade
+++ b/public/docs/js/latest/api/di/NoBindingError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 58)
+ defined in angular2/src/di/exceptions.ts (line 58)
:markdown
Thrown when trying to retrieve a dependency by `Key` from Injector, but the
diff --git a/public/docs/js/latest/api/di/OpaqueToken-class.jade b/public/docs/js/latest/api/di/OpaqueToken-class.jade
index 2ad688171c..9107c7a572 100644
--- a/public/docs/js/latest/api/di/OpaqueToken-class.jade
+++ b/public/docs/js/latest/api/di/OpaqueToken-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/opaque_token.ts (line 1)
+ defined in angular2/src/di/opaque_token.ts (line 1)
:markdown
diff --git a/public/docs/js/latest/api/di/Optional-var.jade b/public/docs/js/latest/api/di/Optional-var.jade
index d1c5c92141..1c5d2a7282 100644
--- a/public/docs/js/latest/api/di/Optional-var.jade
+++ b/public/docs/js/latest/api/di/Optional-var.jade
@@ -3,7 +3,7 @@
h2 Optional variable
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 68)
+ defined in angular2/src/di/decorators.ts (line 67)
:markdown
Factory for creating OptionalMetadata.
diff --git a/public/docs/js/latest/api/di/OptionalFactory-interface.jade b/public/docs/js/latest/api/di/OptionalFactory-interface.jade
index 5f6e93b3cd..69fe690480 100644
--- a/public/docs/js/latest/api/di/OptionalFactory-interface.jade
+++ b/public/docs/js/latest/api/di/OptionalFactory-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 18)
+ defined in angular2/src/di/decorators.ts (line 17)
:markdown
Factory for creating OptionalMetadata.
diff --git a/public/docs/js/latest/api/di/OptionalMetadata-class.jade b/public/docs/js/latest/api/di/OptionalMetadata-class.jade
index 3315749c06..c69f743fb2 100644
--- a/public/docs/js/latest/api/di/OptionalMetadata-class.jade
+++ b/public/docs/js/latest/api/di/OptionalMetadata-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 17)
+ defined in angular2/src/di/metadata.ts (line 17)
:markdown
A parameter metadata that marks a dependency as optional. Injector provides `null` if
diff --git a/public/docs/js/latest/api/di/OutOfBoundsError-class.jade b/public/docs/js/latest/api/di/OutOfBoundsError-class.jade
index 19dbecefd6..e18faf25ca 100644
--- a/public/docs/js/latest/api/di/OutOfBoundsError-class.jade
+++ b/public/docs/js/latest/api/di/OutOfBoundsError-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/exceptions.ts (line 156)
+ defined in angular2/src/di/exceptions.ts (line 156)
:markdown
Thrown when getting an object by index.
diff --git a/public/docs/js/latest/api/di/PRIVATE-const.jade b/public/docs/js/latest/api/di/PRIVATE-const.jade
index 7547929a64..677efaaae2 100644
--- a/public/docs/js/latest/api/di/PRIVATE-const.jade
+++ b/public/docs/js/latest/api/di/PRIVATE-const.jade
@@ -3,7 +3,7 @@
h2 PRIVATE variable
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/injector.ts (line 27)
+ defined in angular2/src/di/injector.ts (line 27)
:markdown
diff --git a/public/docs/js/latest/api/di/PUBLIC-const.jade b/public/docs/js/latest/api/di/PUBLIC-const.jade
index 507986c6ba..2a6d934b1c 100644
--- a/public/docs/js/latest/api/di/PUBLIC-const.jade
+++ b/public/docs/js/latest/api/di/PUBLIC-const.jade
@@ -3,7 +3,7 @@
h2 PUBLIC variable
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/injector.ts (line 26)
+ defined in angular2/src/di/injector.ts (line 26)
:markdown
diff --git a/public/docs/js/latest/api/di/PUBLIC_AND_PRIVATE-const.jade b/public/docs/js/latest/api/di/PUBLIC_AND_PRIVATE-const.jade
index f7ce19a9e4..e0d4ad6f07 100644
--- a/public/docs/js/latest/api/di/PUBLIC_AND_PRIVATE-const.jade
+++ b/public/docs/js/latest/api/di/PUBLIC_AND_PRIVATE-const.jade
@@ -3,7 +3,7 @@
h2 PUBLIC_AND_PRIVATE variable
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/injector.ts (line 28)
+ defined in angular2/src/di/injector.ts (line 28)
:markdown
diff --git a/public/docs/js/latest/api/di/ProtoInjector-class.jade b/public/docs/js/latest/api/di/ProtoInjector-class.jade
index 70b0b68559..41a96d3f13 100644
--- a/public/docs/js/latest/api/di/ProtoInjector-class.jade
+++ b/public/docs/js/latest/api/di/ProtoInjector-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/injector.ts (line 172)
+ defined in angular2/src/di/injector.ts (line 172)
:markdown
diff --git a/public/docs/js/latest/api/di/ResolvedBinding-class.jade b/public/docs/js/latest/api/di/ResolvedBinding-class.jade
index 4cbfab47c6..2970495dc3 100644
--- a/public/docs/js/latest/api/di/ResolvedBinding-class.jade
+++ b/public/docs/js/latest/api/di/ResolvedBinding-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/binding.ts (line 218)
+ defined in angular2/src/di/binding.ts (line 217)
:markdown
An internal resolved representation of a Binding used by the Injector.
diff --git a/public/docs/js/latest/api/di/Self-var.jade b/public/docs/js/latest/api/di/Self-var.jade
index eebfb42f6f..b6781e679b 100644
--- a/public/docs/js/latest/api/di/Self-var.jade
+++ b/public/docs/js/latest/api/di/Self-var.jade
@@ -3,7 +3,7 @@
h2 Self variable
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 78)
+ defined in angular2/src/di/decorators.ts (line 77)
:markdown
Factory for creating SelfMetadata.
diff --git a/public/docs/js/latest/api/di/SelfFactory-interface.jade b/public/docs/js/latest/api/di/SelfFactory-interface.jade
index 39831ea190..ef4a2b8c6d 100644
--- a/public/docs/js/latest/api/di/SelfFactory-interface.jade
+++ b/public/docs/js/latest/api/di/SelfFactory-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 34)
+ defined in angular2/src/di/decorators.ts (line 33)
:markdown
Factory for creating SelfMetadata.
diff --git a/public/docs/js/latest/api/di/SelfMetadata-class.jade b/public/docs/js/latest/api/di/SelfMetadata-class.jade
index 7764ef555b..c606fa8827 100644
--- a/public/docs/js/latest/api/di/SelfMetadata-class.jade
+++ b/public/docs/js/latest/api/di/SelfMetadata-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 99)
+ defined in angular2/src/di/metadata.ts (line 83)
:markdown
Specifies that an injector should retrieve a dependency from itself.
@@ -34,21 +34,6 @@ p.location-badge.
.l-main-section
h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor()
-
- :markdown
-
-
-
-
-
-
.l-sub-section
h3 toString
diff --git a/public/docs/js/latest/api/di/SkipSelf-var.jade b/public/docs/js/latest/api/di/SkipSelf-var.jade
new file mode 100644
index 0000000000..3572be58ee
--- /dev/null
+++ b/public/docs/js/latest/api/di/SkipSelf-var.jade
@@ -0,0 +1,12 @@
+
+.l-main-section
+ h2 SkipSelf variable
+ p.location-badge.
+ exported from angular2/di
+ defined in angular2/src/di/decorators.ts (line 87)
+
+ :markdown
+ Factory for creating SkipSelfMetadata.
+
+
+
diff --git a/public/docs/js/latest/api/di/SkipSelfFactory-interface.jade b/public/docs/js/latest/api/di/SkipSelfFactory-interface.jade
new file mode 100644
index 0000000000..b34fd2b30c
--- /dev/null
+++ b/public/docs/js/latest/api/di/SkipSelfFactory-interface.jade
@@ -0,0 +1,9 @@
+
+p.location-badge.
+ exported from angular2/di
+ defined in angular2/src/di/decorators.ts (line 49)
+
+:markdown
+ Factory for creating SkipSelfMetadata.
+
+
diff --git a/public/docs/js/latest/api/di/SkipSelfMetadata-class.jade b/public/docs/js/latest/api/di/SkipSelfMetadata-class.jade
new file mode 100644
index 0000000000..c401d55a83
--- /dev/null
+++ b/public/docs/js/latest/api/di/SkipSelfMetadata-class.jade
@@ -0,0 +1,60 @@
+
+p.location-badge.
+ exported from angular2/di
+ defined in angular2/src/di/metadata.ts (line 106)
+
+:markdown
+ Specifies that the dependency resolution should start from the parent injector.
+
+ ## Example
+
+
+ ```
+ class Service {}
+
+ class ParentService implements Service {
+ }
+
+ class ChildService implements Service {
+ constructor(public @SkipSelf() parentService:Service) {}
+ }
+
+ var parent = Injector.resolveAndCreate([
+ bind(Service).toClass(ParentService)
+ ]);
+ var child = parent.resolveAndCreateChild([
+ bind(Service).toClass(ChildSerice)
+ ]);
+ var s = child.get(Service);
+ expect(s).toBeAnInstanceOf(ChildService);
+ expect(s.parentService).toBeAnInstanceOf(ParentService);
+ ```
+
+
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation CONST
+ pre.prettyprint
+ code.
+ @CONST()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/di/TypeLiteral-class.jade b/public/docs/js/latest/api/di/TypeLiteral-class.jade
index 48355d97ca..9795b1c970 100644
--- a/public/docs/js/latest/api/di/TypeLiteral-class.jade
+++ b/public/docs/js/latest/api/di/TypeLiteral-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/type_literal.ts (line 1)
+ defined in angular2/src/di/type_literal.ts (line 1)
:markdown
Type literals is a Dart-only feature. This is here only so we can x-compile
diff --git a/public/docs/js/latest/api/di/Unbounded-var.jade b/public/docs/js/latest/api/di/Unbounded-var.jade
deleted file mode 100644
index 7d29e1a594..0000000000
--- a/public/docs/js/latest/api/di/Unbounded-var.jade
+++ /dev/null
@@ -1,12 +0,0 @@
-
-.l-main-section
- h2 Unbounded variable
- p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 88)
-
- :markdown
- Factory for creating UnboundedMetadata.
-
-
-
diff --git a/public/docs/js/latest/api/di/UnboundedFactory-interface.jade b/public/docs/js/latest/api/di/UnboundedFactory-interface.jade
deleted file mode 100644
index d30399857a..0000000000
--- a/public/docs/js/latest/api/di/UnboundedFactory-interface.jade
+++ /dev/null
@@ -1,9 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/decorators.ts (line 50)
-
-:markdown
- Factory for creating UnboundedMetadata.
-
-
diff --git a/public/docs/js/latest/api/di/VisibilityMetadata-class.jade b/public/docs/js/latest/api/di/VisibilityMetadata-class.jade
deleted file mode 100644
index ec0b259a43..0000000000
--- a/public/docs/js/latest/api/di/VisibilityMetadata-class.jade
+++ /dev/null
@@ -1,77 +0,0 @@
-
-p.location-badge.
- exported from angular2/di
- defined in angular2/src/di/metadata.ts (line 83)
-
-:markdown
- Specifies how injector should resolve a dependency.
-
- See Self, Ancestor, Unbounded.
-
-
-
-.l-main-section
- h2 Annotations
- .l-sub-section
- h3.annotation CONST
- pre.prettyprint
- code.
- @CONST()
-
-
-.l-main-section
- h2 Members
- .l-sub-section
- h3 constructor
-
-
- pre.prettyprint
- code.
- constructor(crossBoundaries: boolean, _includeSelf: boolean)
-
- :markdown
-
-
-
-
-
-
- .l-sub-section
- h3 crossBoundaries
-
-
- :markdown
-
-
-
-
-
-
-
- .l-sub-section
- h3 includeSelf
-
-
- :markdown
-
-
-
-
-
-
-
- .l-sub-section
- h3 toString
-
-
- pre.prettyprint
- code.
- toString()
-
- :markdown
-
-
-
-
-
-
diff --git a/public/docs/js/latest/api/di/_data.json b/public/docs/js/latest/api/di/_data.json
index 257033ce6b..50ba8b86a1 100644
--- a/public/docs/js/latest/api/di/_data.json
+++ b/public/docs/js/latest/api/di/_data.json
@@ -16,30 +16,22 @@
"title" : "InjectableMetadata Class"
},
- "VisibilityMetadata-class" : {
- "title" : "VisibilityMetadata Class"
- },
-
"SelfMetadata-class" : {
"title" : "SelfMetadata Class"
},
- "AncestorMetadata-class" : {
- "title" : "AncestorMetadata Class"
+ "HostMetadata-class" : {
+ "title" : "HostMetadata Class"
},
- "UnboundedMetadata-class" : {
- "title" : "UnboundedMetadata Class"
+ "SkipSelfMetadata-class" : {
+ "title" : "SkipSelfMetadata Class"
},
"DependencyMetadata-class" : {
"title" : "DependencyMetadata Class"
},
- "DEFAULT_VISIBILITY-const" : {
- "title" : "DEFAULT_VISIBILITY Const"
- },
-
"forwardRef-function" : {
"title" : "forwardRef Function"
},
@@ -164,12 +156,12 @@
"title" : "SelfFactory Interface"
},
- "AncestorFactory-interface" : {
- "title" : "AncestorFactory Interface"
+ "HostFactory-interface" : {
+ "title" : "HostFactory Interface"
},
- "UnboundedFactory-interface" : {
- "title" : "UnboundedFactory Interface"
+ "SkipSelfFactory-interface" : {
+ "title" : "SkipSelfFactory Interface"
},
"Inject-var" : {
@@ -188,11 +180,11 @@
"title" : "Self Var"
},
- "Ancestor-var" : {
- "title" : "Ancestor Var"
+ "Host-var" : {
+ "title" : "Host Var"
},
- "Unbounded-var" : {
- "title" : "Unbounded Var"
+ "SkipSelf-var" : {
+ "title" : "SkipSelf Var"
}
}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/di/bind-function.jade b/public/docs/js/latest/api/di/bind-function.jade
index 5ece52339d..0df8c4136f 100644
--- a/public/docs/js/latest/api/di/bind-function.jade
+++ b/public/docs/js/latest/api/di/bind-function.jade
@@ -10,7 +10,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/binding.ts (line 243)
+ defined in angular2/src/di/binding.ts (line 242)
:markdown
Provides an API for imperatively constructing Bindings.
diff --git a/public/docs/js/latest/api/di/forwardRef-function.jade b/public/docs/js/latest/api/di/forwardRef-function.jade
index ad6e988572..eff48e3a75 100644
--- a/public/docs/js/latest/api/di/forwardRef-function.jade
+++ b/public/docs/js/latest/api/di/forwardRef-function.jade
@@ -10,7 +10,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/forward_ref.ts (line 3)
+ defined in angular2/src/di/forward_ref.ts (line 3)
:markdown
Allows to refer to references which are not yet defined.
diff --git a/public/docs/js/latest/api/di/index.jade b/public/docs/js/latest/api/di/index.jade
index 64da017677..4c58b7210a 100644
--- a/public/docs/js/latest/api/di/index.jade
+++ b/public/docs/js/latest/api/di/index.jade
@@ -1,5 +1,5 @@
p.location-badge.
- defined in angular2/di.ts (line 1)
+ defined in angular2/di.ts (line 1)
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
diff --git a/public/docs/js/latest/api/di/resolveForwardRef-function.jade b/public/docs/js/latest/api/di/resolveForwardRef-function.jade
index 35373a0a88..4d3372236c 100644
--- a/public/docs/js/latest/api/di/resolveForwardRef-function.jade
+++ b/public/docs/js/latest/api/di/resolveForwardRef-function.jade
@@ -10,7 +10,7 @@
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/forward_ref.ts (line 33)
+ defined in angular2/src/di/forward_ref.ts (line 33)
:markdown
Lazily retrieve the reference value.
diff --git a/public/docs/js/latest/api/di/undefinedValue-const.jade b/public/docs/js/latest/api/di/undefinedValue-const.jade
index d2135800ea..2bdbbc3a62 100644
--- a/public/docs/js/latest/api/di/undefinedValue-const.jade
+++ b/public/docs/js/latest/api/di/undefinedValue-const.jade
@@ -3,7 +3,7 @@
h2 undefinedValue variable
p.location-badge.
exported from angular2/di
- defined in angular2/src/di/injector.ts (line 24)
+ defined in angular2/src/di/injector.ts (line 24)
:markdown
diff --git a/public/docs/js/latest/api/directives/CSSClass-class.jade b/public/docs/js/latest/api/directives/CSSClass-class.jade
index e7565fb188..41d484306f 100644
--- a/public/docs/js/latest/api/directives/CSSClass-class.jade
+++ b/public/docs/js/latest/api/directives/CSSClass-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/class.ts (line 9)
+ defined in angular2/src/directives/class.ts (line 9)
:markdown
Adds and removes CSS classes based on an {expression} value.
diff --git a/public/docs/js/latest/api/directives/NgFor-class.jade b/public/docs/js/latest/api/directives/NgFor-class.jade
index 0c7b760ebd..0e872c5b8b 100644
--- a/public/docs/js/latest/api/directives/NgFor-class.jade
+++ b/public/docs/js/latest/api/directives/NgFor-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/ng_for.ts (line 4)
+ defined in angular2/src/directives/ng_for.ts (line 4)
:markdown
The `NgFor` directive instantiates a template once per item from an iterable. The context for
diff --git a/public/docs/js/latest/api/directives/NgIf-class.jade b/public/docs/js/latest/api/directives/NgIf-class.jade
index 1c6f112e7e..4abb3b41bd 100644
--- a/public/docs/js/latest/api/directives/NgIf-class.jade
+++ b/public/docs/js/latest/api/directives/NgIf-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/ng_if.ts (line 3)
+ defined in angular2/src/directives/ng_if.ts (line 3)
:markdown
Removes or recreates a portion of the DOM tree based on an {expression}.
diff --git a/public/docs/js/latest/api/directives/NgNonBindable-class.jade b/public/docs/js/latest/api/directives/NgNonBindable-class.jade
index f3dbf259cc..51c6a5bb3b 100644
--- a/public/docs/js/latest/api/directives/NgNonBindable-class.jade
+++ b/public/docs/js/latest/api/directives/NgNonBindable-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/ng_non_bindable.ts (line 1)
+ defined in angular2/src/directives/ng_non_bindable.ts (line 1)
:markdown
The `NgNonBindable` directive tells Angular not to compile or bind the contents of the current
diff --git a/public/docs/js/latest/api/directives/NgStyle-class.jade b/public/docs/js/latest/api/directives/NgStyle-class.jade
index 8e92139b5b..99e143ec91 100644
--- a/public/docs/js/latest/api/directives/NgStyle-class.jade
+++ b/public/docs/js/latest/api/directives/NgStyle-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/ng_style.ts (line 7)
+ defined in angular2/src/directives/ng_style.ts (line 7)
:markdown
Adds or removes styles based on an {expression}.
diff --git a/public/docs/js/latest/api/directives/NgSwitch-class.jade b/public/docs/js/latest/api/directives/NgSwitch-class.jade
index 590ed1b856..7ebc4552c6 100644
--- a/public/docs/js/latest/api/directives/NgSwitch-class.jade
+++ b/public/docs/js/latest/api/directives/NgSwitch-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/ng_switch.ts (line 19)
+ defined in angular2/src/directives/ng_switch.ts (line 19)
:markdown
The `NgSwitch` directive is used to conditionally swap DOM structure on your template based on a
diff --git a/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade b/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade
index fd2139b3c6..9a2ca0b71e 100644
--- a/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade
+++ b/public/docs/js/latest/api/directives/NgSwitchDefault-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/ng_switch.ts (line 173)
+ defined in angular2/src/directives/ng_switch.ts (line 173)
:markdown
Defines a default case statement.
diff --git a/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade b/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade
index dac209df25..2d16d4a036 100644
--- a/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade
+++ b/public/docs/js/latest/api/directives/NgSwitchWhen-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/ng_switch.ts (line 135)
+ defined in angular2/src/directives/ng_switch.ts (line 135)
:markdown
Defines a case statement as an expression.
diff --git a/public/docs/js/latest/api/directives/RecordViewTuple-class.jade b/public/docs/js/latest/api/directives/RecordViewTuple-class.jade
index 8166953f44..cf904be4ef 100644
--- a/public/docs/js/latest/api/directives/RecordViewTuple-class.jade
+++ b/public/docs/js/latest/api/directives/RecordViewTuple-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/ng_for.ts (line 117)
+ defined in angular2/src/directives/ng_for.ts (line 117)
:markdown
diff --git a/public/docs/js/latest/api/directives/SwitchView-class.jade b/public/docs/js/latest/api/directives/SwitchView-class.jade
index d196814324..1ebcb1dd14 100644
--- a/public/docs/js/latest/api/directives/SwitchView-class.jade
+++ b/public/docs/js/latest/api/directives/SwitchView-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/directives
- defined in angular2/src/directives/ng_switch.ts (line 5)
+ defined in angular2/src/directives/ng_switch.ts (line 5)
:markdown
diff --git a/public/docs/js/latest/api/directives/coreDirectives-const.jade b/public/docs/js/latest/api/directives/coreDirectives-const.jade
index cb5d55c7e4..3e3e5fc0f4 100644
--- a/public/docs/js/latest/api/directives/coreDirectives-const.jade
+++ b/public/docs/js/latest/api/directives/coreDirectives-const.jade
@@ -3,7 +3,7 @@
h2 coreDirectives variable
p.location-badge.
exported from angular2/directives
- defined in angular2/directives.ts (line 62)
+ defined in angular2/directives.ts (line 62)
:markdown
A collection of the Angular core directives that are likely to be used in each and every Angular
diff --git a/public/docs/js/latest/api/directives/index.jade b/public/docs/js/latest/api/directives/index.jade
index ff40aed32b..0aed37658f 100644
--- a/public/docs/js/latest/api/directives/index.jade
+++ b/public/docs/js/latest/api/directives/index.jade
@@ -1,5 +1,5 @@
p.location-badge.
- defined in angular2/directives.ts (line 1)
+ defined in angular2/directives.ts (line 1)
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
diff --git a/public/docs/js/latest/api/forms/AbstractControl-class.jade b/public/docs/js/latest/api/forms/AbstractControl-class.jade
index 560f3e40bd..b2f16eff09 100644
--- a/public/docs/js/latest/api/forms/AbstractControl-class.jade
+++ b/public/docs/js/latest/api/forms/AbstractControl-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 37)
+ defined in angular2/src/forms/model.ts (line 37)
:markdown
Omitting from external API doc as this is really an abstract internal concept.
diff --git a/public/docs/js/latest/api/forms/AbstractControlDirective-class.jade b/public/docs/js/latest/api/forms/AbstractControlDirective-class.jade
index 6e53fb92cd..0f4f7cfc10 100644
--- a/public/docs/js/latest/api/forms/AbstractControlDirective-class.jade
+++ b/public/docs/js/latest/api/forms/AbstractControlDirective-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/abstract_control_directive.ts (line 1)
+ defined in angular2/src/forms/directives/abstract_control_directive.ts (line 1)
:markdown
diff --git a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade b/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade
index 4b56396160..bc92d351a1 100644
--- a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade
+++ b/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/checkbox_value_accessor.ts (line 9)
+ defined in angular2/src/forms/directives/checkbox_value_accessor.ts (line 9)
:markdown
The accessor for writing a value and listening to changes on a checkbox input element.
diff --git a/public/docs/js/latest/api/forms/Control-class.jade b/public/docs/js/latest/api/forms/Control-class.jade
index 8f7712f58b..f31c338a4a 100644
--- a/public/docs/js/latest/api/forms/Control-class.jade
+++ b/public/docs/js/latest/api/forms/Control-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 135)
+ defined in angular2/src/forms/model.ts (line 135)
:markdown
Defines a part of a form that cannot be divided into other controls.
diff --git a/public/docs/js/latest/api/forms/ControlArray-class.jade b/public/docs/js/latest/api/forms/ControlArray-class.jade
index 3536a85301..ad5d8f32e2 100644
--- a/public/docs/js/latest/api/forms/ControlArray-class.jade
+++ b/public/docs/js/latest/api/forms/ControlArray-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 249)
+ defined in angular2/src/forms/model.ts (line 249)
:markdown
Defines a part of a form, of variable length, that can contain other controls.
diff --git a/public/docs/js/latest/api/forms/ControlContainer-class.jade b/public/docs/js/latest/api/forms/ControlContainer-class.jade
index 226cc64046..1e4f16efe8 100644
--- a/public/docs/js/latest/api/forms/ControlContainer-class.jade
+++ b/public/docs/js/latest/api/forms/ControlContainer-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/control_container.ts (line 3)
+ defined in angular2/src/forms/directives/control_container.ts (line 3)
:markdown
A directive that contains a group of [NgControl].
diff --git a/public/docs/js/latest/api/forms/ControlGroup-class.jade b/public/docs/js/latest/api/forms/ControlGroup-class.jade
index 5ae026be0d..3d7f31a859 100644
--- a/public/docs/js/latest/api/forms/ControlGroup-class.jade
+++ b/public/docs/js/latest/api/forms/ControlGroup-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/model.ts (line 165)
+ defined in angular2/src/forms/model.ts (line 165)
:markdown
Defines a part of a form, of fixed length, that can contain other controls.
diff --git a/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade b/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade
index f97c6112d6..d556c08f7c 100644
--- a/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade
+++ b/public/docs/js/latest/api/forms/ControlValueAccessor-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/control_value_accessor.ts (line 1)
+ defined in angular2/src/forms/directives/control_value_accessor.ts (line 1)
:markdown
A bridge between a control and a native element.
diff --git a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade b/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade
index fdcd0a0d2a..801c078f72 100644
--- a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade
+++ b/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/default_value_accessor.ts (line 8)
+ defined in angular2/src/forms/directives/default_value_accessor.ts (line 8)
:markdown
The default accessor for writing a value and listening to changes that is used by the
diff --git a/public/docs/js/latest/api/forms/Form-interface.jade b/public/docs/js/latest/api/forms/Form-interface.jade
index 3e65f67d8e..c5e0a1ccfe 100644
--- a/public/docs/js/latest/api/forms/Form-interface.jade
+++ b/public/docs/js/latest/api/forms/Form-interface.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/form_interface.ts (line 3)
+ defined in angular2/src/forms/directives/form_interface.ts (line 3)
:markdown
An interface that NgFormModel and NgForm implement.
diff --git a/public/docs/js/latest/api/forms/FormBuilder-class.jade b/public/docs/js/latest/api/forms/FormBuilder-class.jade
index 0ec9b99a48..d73dee8bc9 100644
--- a/public/docs/js/latest/api/forms/FormBuilder-class.jade
+++ b/public/docs/js/latest/api/forms/FormBuilder-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/form_builder.ts (line 4)
+ defined in angular2/src/forms/form_builder.ts (line 4)
:markdown
Creates a form object from a user-specified configuration.
@@ -14,7 +14,7 @@ p.location-badge.
@Component({
selector: 'login-comp',
- viewInjector: [
+ viewBindings: [
FormBuilder
]
})
diff --git a/public/docs/js/latest/api/forms/NgControl-class.jade b/public/docs/js/latest/api/forms/NgControl-class.jade
index 1b8cdc2b62..fdbcbcaec0 100644
--- a/public/docs/js/latest/api/forms/NgControl-class.jade
+++ b/public/docs/js/latest/api/forms/NgControl-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/ng_control.ts (line 2)
+ defined in angular2/src/forms/directives/ng_control.ts (line 2)
:markdown
An abstract class that all control directive extend.
diff --git a/public/docs/js/latest/api/forms/NgControlGroup-class.jade b/public/docs/js/latest/api/forms/NgControlGroup-class.jade
index cafe2f7f9c..d14c3d7238 100644
--- a/public/docs/js/latest/api/forms/NgControlGroup-class.jade
+++ b/public/docs/js/latest/api/forms/NgControlGroup-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/ng_control_group.ts (line 12)
+ defined in angular2/src/forms/directives/ng_control_group.ts (line 12)
:markdown
Creates and binds a control group to a DOM element.
@@ -50,7 +50,7 @@ p.location-badge.
code.
@Directive({
selector: '[ng-control-group]',
- hostInjector: [controlGroupBinding],
+ bindings: [controlGroupBinding],
properties: ['name: ng-control-group'],
lifecycle: [LifecycleEvent.onInit, LifecycleEvent.onDestroy],
exportAs: 'form'
diff --git a/public/docs/js/latest/api/forms/NgControlName-class.jade b/public/docs/js/latest/api/forms/NgControlName-class.jade
index eab91dfc0d..a03c1c7732 100644
--- a/public/docs/js/latest/api/forms/NgControlName-class.jade
+++ b/public/docs/js/latest/api/forms/NgControlName-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/ng_control_name.ts (line 16)
+ defined in angular2/src/forms/directives/ng_control_name.ts (line 16)
:markdown
Creates and binds a control with a specified name to a DOM element.
@@ -69,7 +69,7 @@ p.location-badge.
code.
@Directive({
selector: '[ng-control]',
- hostInjector: [controlNameBinding],
+ bindings: [controlNameBinding],
properties: ['name: ngControl', 'model: ngModel'],
events: ['update: ngModel'],
lifecycle: [LifecycleEvent.onDestroy, LifecycleEvent.onChange],
diff --git a/public/docs/js/latest/api/forms/NgForm-class.jade b/public/docs/js/latest/api/forms/NgForm-class.jade
index dcc70b464d..dc60c2044c 100644
--- a/public/docs/js/latest/api/forms/NgForm-class.jade
+++ b/public/docs/js/latest/api/forms/NgForm-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/ng_form.ts (line 19)
+ defined in angular2/src/forms/directives/ng_form.ts (line 19)
:markdown
Creates and binds a form object to a DOM element.
@@ -45,7 +45,7 @@ p.location-badge.
code.
@Directive({
selector: 'form:not([ng-no-form]):not([ng-form-model]),ng-form,[ng-form]',
- hostInjector: [formDirectiveBinding],
+ bindings: [formDirectiveBinding],
host: {
'(submit)': 'onSubmit()',
},
diff --git a/public/docs/js/latest/api/forms/NgFormControl-class.jade b/public/docs/js/latest/api/forms/NgFormControl-class.jade
index 41a5342ebb..86362411a5 100644
--- a/public/docs/js/latest/api/forms/NgFormControl-class.jade
+++ b/public/docs/js/latest/api/forms/NgFormControl-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/ng_form_control.ts (line 14)
+ defined in angular2/src/forms/directives/ng_form_control.ts (line 14)
:markdown
Binds an existing control to a DOM element.
@@ -58,7 +58,7 @@ p.location-badge.
code.
@Directive({
selector: '[ng-form-control]',
- hostInjector: [formControlBinding],
+ bindings: [formControlBinding],
properties: ['form: ngFormControl', 'model: ngModel'],
events: ['update: ngModel'],
lifecycle: [LifecycleEvent.onChange],
diff --git a/public/docs/js/latest/api/forms/NgFormModel-class.jade b/public/docs/js/latest/api/forms/NgFormModel-class.jade
index 34f036de5e..6da8dfebb6 100644
--- a/public/docs/js/latest/api/forms/NgFormModel-class.jade
+++ b/public/docs/js/latest/api/forms/NgFormModel-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/ng_form_model.ts (line 15)
+ defined in angular2/src/forms/directives/ng_form_model.ts (line 15)
:markdown
Binds an existing control group to a DOM element.
@@ -79,7 +79,7 @@ p.location-badge.
code.
@Directive({
selector: '[ng-form-model]',
- hostInjector: [formDirectiveBinding],
+ bindings: [formDirectiveBinding],
properties: ['form: ng-form-model'],
lifecycle: [LifecycleEvent.onChange],
host: {
diff --git a/public/docs/js/latest/api/forms/NgModel-class.jade b/public/docs/js/latest/api/forms/NgModel-class.jade
index 34fcaa0c36..5916f5848c 100644
--- a/public/docs/js/latest/api/forms/NgModel-class.jade
+++ b/public/docs/js/latest/api/forms/NgModel-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/ng_model.ts (line 13)
+ defined in angular2/src/forms/directives/ng_model.ts (line 13)
:markdown
Binds a domain model to the form.
@@ -29,7 +29,7 @@ p.location-badge.
code.
@Directive({
selector: '[ng-model]:not([ng-control]):not([ng-form-control])',
- hostInjector: [formControlBinding],
+ bindings: [formControlBinding],
properties: ['model: ngModel'],
events: ['update: ngModel'],
lifecycle: [LifecycleEvent.onChange],
diff --git a/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade b/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade
index 9358a62842..57680558f3 100644
--- a/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade
+++ b/public/docs/js/latest/api/forms/NgRequiredValidator-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/validators.ts (line 11)
+ defined in angular2/src/forms/directives/validators.ts (line 11)
:markdown
@@ -15,7 +15,7 @@ p.location-badge.
code.
@Directive({
selector: '[required][ng-control],[required][ng-form-control],[required][ng-model]',
- hostInjector: [requiredValidatorBinding]
+ bindings: [requiredValidatorBinding]
})
diff --git a/public/docs/js/latest/api/forms/NgSelectOption-class.jade b/public/docs/js/latest/api/forms/NgSelectOption-class.jade
index cfa5ca2e81..a7caba8481 100644
--- a/public/docs/js/latest/api/forms/NgSelectOption-class.jade
+++ b/public/docs/js/latest/api/forms/NgSelectOption-class.jade
@@ -1,7 +1,7 @@
p.location-badge.
exported from angular2/forms
- defined in angular2/src/forms/directives/select_control_value_accessor.ts (line 9)
+ defined in angular2/src/forms/directives/select_control_value_accessor.ts (line 9)
:markdown
Marks