diff --git a/public/_includes/_docs-nav.jade b/public/_includes/_docs-nav.jade
index db05c08f99..5246f85785 100644
--- a/public/_includes/_docs-nav.jade
+++ b/public/_includes/_docs-nav.jade
@@ -37,7 +37,7 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
li(class="#{selected}") #{num}. #{page.title}
else
- li(class="#{selected}") #{slug}
+ li(class="#{selected}") #{page.title}
// TERTIARY NAVIGATION
diff --git a/public/docs/js/latest/api/_data.json b/public/docs/js/latest/api/_data.json
index 2ec5318304..03e67ad3b1 100644
--- a/public/docs/js/latest/api/_data.json
+++ b/public/docs/js/latest/api/_data.json
@@ -12,15 +12,15 @@
},
"di" : {
- "title" : "Di"
+ "title" : "Dependency Injection (DI)"
},
"di_annotations" : {
- "title" : "Di Annotations"
+ "title" : "DI Annotations"
},
"di_errors" : {
- "title" : "Di Errors"
+ "title" : "DI Errors"
},
"directives" : {
@@ -35,18 +35,10 @@
"title" : "Pipes"
},
- "template" : {
- "title" : "Template"
- },
-
"test" : {
"title" : "Test"
},
- "test_lib" : {
- "title" : "Test Lib"
- },
-
"view" : {
"title" : "View"
}
diff --git a/public/docs/js/latest/api/angular2/_data.json b/public/docs/js/latest/api/angular2/_data.json
new file mode 100644
index 0000000000..9e26dfeeb6
--- /dev/null
+++ b/public/docs/js/latest/api/angular2/_data.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/angular2_sfx/_data.json b/public/docs/js/latest/api/angular2_sfx/_data.json
new file mode 100644
index 0000000000..9e26dfeeb6
--- /dev/null
+++ b/public/docs/js/latest/api/angular2_sfx/_data.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/annotations/Ancestor-class.jade b/public/docs/js/latest/api/annotations/Ancestor-class.jade
index cde8712e22..b93dfb912d 100644
--- a/public/docs/js/latest/api/annotations/Ancestor-class.jade
+++ b/public/docs/js/latest/api/annotations/Ancestor-class.jade
@@ -63,8 +63,7 @@ p.
pre.prettyprint
code.
- ()
-
+ constructor()
:markdown
diff --git a/public/docs/js/latest/api/annotations/Attribute-class.jade b/public/docs/js/latest/api/annotations/Attribute-class.jade
index 38e5211bdd..e969806d25 100644
--- a/public/docs/js/latest/api/annotations/Attribute-class.jade
+++ b/public/docs/js/latest/api/annotations/Attribute-class.jade
@@ -37,8 +37,7 @@ p.
pre.prettyprint
code.
- (attributeName)
-
+ constructor(attributeName)
:markdown
diff --git a/public/docs/js/latest/api/annotations/Decorator-class.jade b/public/docs/js/latest/api/annotations/Decorator-class.jade
index c3826ebfac..2be128b974 100644
--- a/public/docs/js/latest/api/annotations/Decorator-class.jade
+++ b/public/docs/js/latest/api/annotations/Decorator-class.jade
@@ -1,7 +1,7 @@
p.
exported from angular2/annotations
- defined in angular2/src/core/annotations/annotations.js (line 750)
+ defined in angular2/src/core/annotations/annotations.js (line 756)
:markdown
Directive that attaches behavior to DOM elements.
@@ -10,10 +10,10 @@ p.
(see: http://en.wikipedia.org/wiki/Composition_over_inheritance)
Decorators:
- - are simplest form of [Directive]s.
+ - are simplest form of Directive
s.
- are best used as a composition pattern ()
- Decorators differ from [Component]s in that they:
+ Decorators differ from Component
s in that they:
- can have multiple decorators per element
- do not create their own evaluation context
- do not have a template (and therefor do not create Shadow DOM)
@@ -69,7 +69,7 @@ p.
pre.prettyprint
code.
- ({
+ constructor({
selector,
properties,
events,
@@ -84,7 +84,6 @@ p.
lifecycle:List,
compileChildren:boolean
}={})
-
:markdown
diff --git a/public/docs/js/latest/api/annotations/DynamicComponent-class.jade b/public/docs/js/latest/api/annotations/DynamicComponent-class.jade
index 64f2c8be4e..b5b728dd4c 100644
--- a/public/docs/js/latest/api/annotations/DynamicComponent-class.jade
+++ b/public/docs/js/latest/api/annotations/DynamicComponent-class.jade
@@ -1,7 +1,7 @@
p.
exported from angular2/annotations
- defined in angular2/src/core/annotations/annotations.js (line 655)
+ defined in angular2/src/core/annotations/annotations.js (line 661)
:markdown
Directive used for dynamically loading components.
@@ -56,7 +56,7 @@ p.
pre.prettyprint
code.
- ({
+ constructor({
selector,
properties,
events,
@@ -71,7 +71,6 @@ p.
injectables:List,
lifecycle:List
}={})
-
:markdown
@@ -86,7 +85,7 @@ p.
:markdown
- Same as [Component.injectables].
+ Same as `injectables` in the Component
.
diff --git a/public/docs/js/latest/api/annotations/Parent-class.jade b/public/docs/js/latest/api/annotations/Parent-class.jade
index 2eaad1cac8..fcbe4992d8 100644
--- a/public/docs/js/latest/api/annotations/Parent-class.jade
+++ b/public/docs/js/latest/api/annotations/Parent-class.jade
@@ -50,8 +50,7 @@ p.
pre.prettyprint
code.
- ()
-
+ constructor()
:markdown
diff --git a/public/docs/js/latest/api/annotations/PropertySetter-class.jade b/public/docs/js/latest/api/annotations/PropertySetter-class.jade
index cc3812d055..6b8119c159 100644
--- a/public/docs/js/latest/api/annotations/PropertySetter-class.jade
+++ b/public/docs/js/latest/api/annotations/PropertySetter-class.jade
@@ -18,8 +18,7 @@ p.
pre.prettyprint
code.
- (propName)
-
+ constructor(propName)
:markdown
diff --git a/public/docs/js/latest/api/annotations/Query-class.jade b/public/docs/js/latest/api/annotations/Query-class.jade
index a80a868aeb..7b0c4d94b8 100644
--- a/public/docs/js/latest/api/annotations/Query-class.jade
+++ b/public/docs/js/latest/api/annotations/Query-class.jade
@@ -4,9 +4,9 @@ p.
defined in angular2/src/core/annotations/di.js (line 77)
:markdown
- Specifies that a [QueryList] should be injected.
+ Specifies that a QueryList
should be injected.
- See: [QueryList] for usage and example.
+ See QueryList
for usage and example.
.l-main-section
h2 Members
@@ -16,8 +16,7 @@ p.
pre.prettyprint
code.
- (directive)
-
+ constructor(directive)
:markdown
diff --git a/public/docs/js/latest/api/annotations/View-class.jade b/public/docs/js/latest/api/annotations/View-class.jade
index d901a2faf7..268bc504a4 100644
--- a/public/docs/js/latest/api/annotations/View-class.jade
+++ b/public/docs/js/latest/api/annotations/View-class.jade
@@ -4,7 +4,7 @@ p.
defined in angular2/src/core/annotations/view.js (line 34)
:markdown
- Declare the available HTML templates for an application.
+ Declares the available HTML templates for an application.
Each angular component requires a single `@Component` and at least one `@View` annotation. The @View
annotation specifies the HTML template to use, and lists the directives that are active within the template.
@@ -12,7 +12,7 @@ p.
When a component is instantiated, the template is loaded into the component's shadow root, and the
expressions and statements in the template are evaluated against the component.
- For details on the `@Component` annotation, see [Component].
+ For details on the `@Component` annotation, see Component
.
## Example
@@ -41,7 +41,7 @@ p.
pre.prettyprint
code.
- ({
+ constructor({
templateUrl,
template,
directives
@@ -50,7 +50,6 @@ p.
template: string,
directives: List<Type>
})
-
:markdown
@@ -65,7 +64,7 @@ p.
:markdown
- Specify a list of directives that are active within a template. [TODO: true?]
+ Specifies a list of directives that can be used within a template.
Directives must be listed explicitly to provide proper component encapsulation.
@@ -96,7 +95,7 @@ p.
:markdown
- Specify an inline template for an angular component.
+ Specifies an inline template for an angular component.
NOTE: either `templateURL` or `template` should be used, but not both.
@@ -110,7 +109,7 @@ p.
:markdown
- Specify a template URL for an angular component.
+ Specifies a template URL for an angular component.
NOTE: either `templateURL` or `template` should be used, but not both.
diff --git a/public/docs/js/latest/api/annotations/Viewport-class.jade b/public/docs/js/latest/api/annotations/Viewport-class.jade
index b5062fb744..f87ef1256b 100644
--- a/public/docs/js/latest/api/annotations/Viewport-class.jade
+++ b/public/docs/js/latest/api/annotations/Viewport-class.jade
@@ -1,16 +1,16 @@
p.
exported from angular2/annotations
- defined in angular2/src/core/annotations/annotations.js (line 879)
+ defined in angular2/src/core/annotations/annotations.js (line 885)
:markdown
Directive that controls the instantiation, destruction, and positioning of inline template elements.
- A viewport directive uses a [ViewContainer] to instantiate, insert, move, and destroy views at runtime.
- The [ViewContainer] is created as a result of `` element, and represents a location in the current view
+ A viewport directive uses a ViewContainer
to instantiate, insert, move, and destroy views at runtime.
+ The ViewContainer
is created as a result of `` element, and represents a location in the current view
where these actions are performed.
- Views are always created as children of the current [View], and as siblings of the `` element. Thus a
+ Views are always created as children of the current View
, and as siblings of the `` element. Thus a
directive in a child view cannot inject the viewport directive that created it.
Since viewport directives are common in Angular, and using the full `` element syntax is wordy, Angular
@@ -48,7 +48,7 @@ p.
@Viewport({
selector: '[unless]',
properties: {
- 'condition': 'unless'
+ 'unless': 'unless'
}
})
export class Unless {
@@ -60,7 +60,7 @@ p.
this.prevCondition = null;
}
- set condition(newCondition) {
+ set unless(newCondition) {
if (newCondition && (isBlank(this.prevCondition) || !this.prevCondition)) {
this.prevCondition = true;
this.viewContainer.clear();
@@ -102,7 +102,7 @@ p.
pre.prettyprint
code.
- ({
+ constructor({
selector,
properties,
events,
@@ -114,7 +114,6 @@ p.
events:List,
lifecycle:List
}={})
-
:markdown
diff --git a/public/docs/js/latest/api/annotations/component-class.jade b/public/docs/js/latest/api/annotations/component-class.jade
index 9e8579c05b..a7ee0329f4 100644
--- a/public/docs/js/latest/api/annotations/component-class.jade
+++ b/public/docs/js/latest/api/annotations/component-class.jade
@@ -1,7 +1,7 @@
p.
exported from angular2/annotations
- defined in angular2/src/core/annotations/annotations.js (line 516)
+ defined in angular2/src/core/annotations/annotations.js (line 522)
:markdown
Declare reusable UI building blocks for an application.
@@ -12,11 +12,11 @@ p.
When a component is instantiated, Angular
- creates a shadow DOM for the component.
- loads the selected template into the shadow DOM.
- - creates a child [Injector] which is configured with the [Component.injectables].
+ - creates a child Injector
which is configured with the `injectables` for the Component
.
All template expressions and statements are then evaluated against the component instance.
- For details on the `@View` annotation, see [View].
+ For details on the `@View` annotation, see View
.
## Example
@@ -44,7 +44,7 @@ p.
pre.prettyprint
code.
- ({
+ constructor({
selector,
properties,
events,
@@ -61,7 +61,6 @@ p.
lifecycle:List,
changeDetection:string
}={})
-
:markdown
@@ -96,17 +95,17 @@ p.
:markdown
Defines the set of injectable objects that are visible to a Component and its children.
- The [injectables] defined in the Component annotation allow you to configure a set of bindings for the component's
+ The `injectables` defined in the Component annotation allow you to configure a set of bindings for the component's
injector.
When a component is instantiated, Angular creates a new child Injector, which is configured with the bindings in
- the Component [injectables] annotation. The injectable objects then become available for injection to the component
+ the Component `injectables` annotation. The injectable objects then become available for injection to the component
itself and any of the directives in the component's template, i.e. they are not available to the directives which
are children in the component's light DOM.
- The syntax for configuring the [injectables] injectable is identical to [Injector] injectable configuration. See
- [Injector] for additional detail.
+ The syntax for configuring the `injectables` injectable is identical to Injector
injectable configuration.
+ See Injector
for additional detail.
## Simple Example
diff --git a/public/docs/js/latest/api/annotations/directive-class.jade b/public/docs/js/latest/api/annotations/directive-class.jade
index 1bea22cd7d..3dcbe33aa2 100644
--- a/public/docs/js/latest/api/annotations/directive-class.jade
+++ b/public/docs/js/latest/api/annotations/directive-class.jade
@@ -1,37 +1,37 @@
p.
exported from angular2/annotations
- defined in angular2/src/core/annotations/annotations.js (line 238)
+ defined in angular2/src/core/annotations/annotations.js (line 241)
:markdown
Directives allow you to attach behavior to elements in the DOM.
- Directive is an abstract concept, instead use concrete directives: [Component], [DynamicComponent], [Decorator]
- or [Viewport].
+ Directive is an abstract concept, instead use concrete directives: Component
, DynamicComponent
, Decorator
+ or Viewport
.
- A directive consists of a single directive annotation and a controller class. When the directive's [selector] matches
+ A directive consists of a single directive annotation and a controller class. When the directive's `selector` matches
elements in the DOM, the following steps occur:
- 1. For each directive, the [ElementInjector] attempts to resolve the directive's constructor arguments.
- 2. Angular instantiates directives for each matched element using [ElementInjector] in a depth-first order,
+ 1. For each directive, the `ElementInjector` attempts to resolve the directive's constructor arguments.
+ 2. Angular instantiates directives for each matched element using `ElementInjector` in a depth-first order,
as declared in the HTML.
## Understanding How Injection Works
There are three stages of injection resolution.
- *Pre-existing Injectors*:
- - The terminal [Injector] cannot resolve dependencies. It either throws an error or, if the dependency was
+ - The terminal Injector
cannot resolve dependencies. It either throws an error or, if the dependency was
specified as `@Optional`, returns `null`.
- - The primordial injector resolves browser singleton resources, such as: cookies, title, location, and others.
- - *Component Injectors*: Each `@Component` has its own [Injector], and they follow the same parent-child hierarchy
+ - The platform injector resolves browser singleton resources, such as: cookies, title, location, and others.
+ - *Component Injectors*: Each `@Component` has its own Injector
, and they follow the same parent-child hierarchy
as the components in the DOM.
- - *Element Injectors*: Each component has a Shadow DOM. Within the Shadow DOM each element has an [ElementInjector]
+ - *Element Injectors*: Each component has a Shadow DOM. Within the Shadow DOM each element has an `ElementInjector`
which follow the same parent-child hierarchy as the DOM elements themselves.
When a template is instantiated, it also must instantiate the corresponding directives in a depth-first order. The
- current [ElementInjector] resolves the constructor dependencies for each directive.
+ current `ElementInjector` resolves the constructor dependencies for each directive.
- Angular then resolves dependencies as follows, according to the order in which they appear in the [View]:
+ Angular then resolves dependencies as follows, according to the order in which they appear in the View
:
1. Dependencies on the current element
2. Dependencies on element injectors and their parents until it encounters a Shadow DOM boundary
@@ -39,21 +39,21 @@ p.
4. Dependencies on pre-existing injectors
- The [ElementInjector] can inject other directives, element-specific special objects, or it can delegate to the parent
+ The `ElementInjector` can inject other directives, element-specific special objects, or it can delegate to the parent
injector.
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 element and the
- Shadow DOM root. Current element is not included in the resolution, therefor even if it could resolve it, it will
+ Shadow DOM root. Current element is not included in the resolution, therefore even if it could resolve it, it will
be ignored.
- `@Parent() directive:DirectiveType`: any directive that matches the type on a direct parent element only.
- - `@Children query:Query`: A live collection of direct child directives [TO BE IMPLEMENTED].
- - `@Descendants query:Query`: A live collection of any child directives [TO BE IMPLEMENTED].
+ - `@Children query:Query`: A live collection of direct child directives (will be implemented in later release).
+ - `@Descendants query:Query`: A live collection of any child directives (will be implemented in later relaese).
To inject element-specific special objects, declare the constructor parameter as:
- `element: NgElement` to obtain a DOM element (DEPRECATED: replacement coming)
- - `viewContainer: ViewContainer` to control child template instantiation, for [Viewport] directives only
+ - `viewContainer: ViewContainer` to control child template instantiation, for Viewport
directives only
- `bindingPropagation: BindingPropagation` to control change detection in a more granular way.
## Example
@@ -182,32 +182,35 @@ p.
`dependency="1"`.
- ### Injecting a live collection of direct child directives [PENDING IMPLEMENTATION]
+ ### Injecting a live collection of direct child directives
+
A directive can also query for other child directives. Since parent directives are instantiated before child
- directives, a directive can't simply inject the list of child directives. Instead, the directive asynchronously
- injects a [Query], which updates as children are added, removed, or moved by any [ViewPort] directive such as a
- `for`, an `if`, or a `switch`.
+ directives, a directive can't simply inject the list of child directives. Instead, the directive
+ injects a QueryList
, which updates its contents as children are added, removed, or moved by any
+ Viewport
directive such as a `for`, an `if`, or a `switch`.
```
@Decorator({ selector: '[my-directive]' })
class MyDirective {
- constructor(@Children() dependencies:Query) {
+ constructor(@Query(Marker) dependencies:QueryList) {
}
}
```
- This directive would be instantiated with a [Query] which contains `Dependency` 4 and 6. Here, `Dependency` 5 would
- not be included, because it is not a direct child.
+ This directive would be instantiated with a QueryList
which contains `Dependency` 4 and 6. Here, `Dependency`
+ 5 would not be included, because it is not a direct child.
- ### Injecting a live collection of direct descendant directives [PENDING IMPLEMENTATION]
+ ### Injecting a live collection of descendant directives
+
+ Note: This is will be implemented in later release. ()
Similar to `@Children` above, but also includes the children of the child elements.
```
@Decorator({ selector: '[my-directive]' })
class MyDirective {
- constructor(@Children() dependencies:Query) {
+ constructor(@QueryDescendents(Marker) dependencies:QueryList) {
}
}
```
@@ -239,7 +242,7 @@ p.
pre.prettyprint
code.
- ({
+ constructor({
selector,
properties,
events,
@@ -252,7 +255,6 @@ p.
hostListeners: any,
lifecycle:List
}={})
-
:markdown
@@ -298,14 +300,13 @@ p.
pre.prettyprint
code.
- (hook:string)
-
+ hasLifecycleHook(hook:string)
:markdown
- Returns true if a directive participates in a given [LifecycleEvent].
+ Returns true if a directive participates in a given `LifecycleEvent`.
- See: [onChange], [onDestroy], [onAllChangesDone] for details.
+ See onChange
, onDestroy
, onAllChangesDone
for details.
@@ -323,6 +324,7 @@ p.
- `event1`: the DOM event that the directive listens to.
- `statement`: the statement to execute when the event occurs.
+ If the evalutation of the statement returns `false`, then `preventDefault`is applied on the DOM event.
To listen to global events, a target must be added to the event name.
The target can be `window`, `document` or `body`.
@@ -330,7 +332,7 @@ p.
When writing a directive event binding, you can also refer to the following local variables:
- `$event`: Current event object which triggered the event.
- `$target`: The source of the event. This will be either a DOM element or an Angular directive.
- [TO BE IMPLEMENTED]
+ (will be implemented in later release)
## Syntax
@@ -380,7 +382,7 @@ p.
:markdown
Specifies a set of lifecycle hostListeners in which the directive participates.
- See: [onChange], [onDestroy], [onAllChangesDone] for details.
+ See onChange
, onDestroy
, onAllChangesDone
for details.
@@ -400,7 +402,7 @@ p.
- `directiveProperty` specifies the component property where the value is written.
- `bindingProperty` specifies the DOM property where the value is read from.
- You can include [Pipes] when specifying a `bindingProperty` to allow for data transformation and structural
+ You can include a Pipe
when specifying a `bindingProperty` to allow for data transformation and structural
change detection of the value. These pipes will be evaluated in the context of this component.
@@ -454,7 +456,9 @@ p.
You can also use pipes when writing binding definitions for a directive.
For example, we could write a binding that updates the directive on structural changes, rather than on reference
- changes, as normally occurs in change detection. (See: [Pipe] and [keyValueDiff] documentation for more details.)
+ changes, as normally occurs in change detection.
+
+ See Pipe
and keyValDiff
documentation for more details.
```
@Decorator({
diff --git a/public/docs/js/latest/api/annotations/onDestroy-var.jade b/public/docs/js/latest/api/annotations/onDestroy-var.jade
index ccfebe9e62..8b4edfa762 100644
--- a/public/docs/js/latest/api/annotations/onDestroy-var.jade
+++ b/public/docs/js/latest/api/annotations/onDestroy-var.jade
@@ -4,7 +4,7 @@
p(class="module") exported from angular2/annotations
:markdown
- Notify a directive whenever a [View] that contains it is destroyed.
+ Notify a directive whenever a View
that contains it is destroyed.
## Example
diff --git a/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade
index 05f472e8f5..bc573a2ce1 100644
--- a/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade
+++ b/public/docs/js/latest/api/change_detection/ChangeDetection-class.jade
@@ -8,17 +8,17 @@ p.
Angular implements the following change detection strategies by default:
- - [dynamicChangeDetection]: slower, but does not require `eval()`.
- - [jitChangeDetection]: faster, but requires `eval()`.
+ - DynamicChangeDetection
: slower, but does not require `eval()`.
+ - JitChangeDetection
: faster, but requires `eval()`.
- In JavaScript, you should always use `jitChangeDetection`, unless you are in an environment that has
+ In JavaScript, you should always use `JitChangeDetection`, unless you are in an environment that has
[CSP](https://developer.mozilla.org/en-US/docs/Web/Security/CSP), such as a Chrome Extension.
- In Dart, use `dynamicChangeDetection` during development. The Angular transformer generates an analog to the
- `jitChangeDetection` strategy at compile time.
+ In Dart, use `DynamicChangeDetection` during development. The Angular transformer generates an analog to the
+ `JitChangeDetection` strategy at compile time.
- See: [dynamicChangeDetection], [jitChangeDetection]
+ See: DynamicChangeDetection
, JitChangeDetection
# Example
```javascript
@@ -32,8 +32,7 @@ p.
pre.prettyprint
code.
- (name:string, changeControlStrategy:string=DEFAULT)
-
+ createProtoChangeDetector(name:string, changeControlStrategy:string=DEFAULT)
: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 75b50e6352..1c05b472bd 100644
--- a/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade
+++ b/public/docs/js/latest/api/change_detection/ChangeDetectorRef-class.jade
@@ -6,7 +6,7 @@ p.
:markdown
Controls change detection.
- [ChangeDetectorRef] allows requesting checks for detectors that rely on observables. It also allows detaching and
+ ChangeDetectorRef
allows requesting checks for detectors that rely on observables. It also allows detaching and
attaching change detector subtrees.
.l-main-section
@@ -17,8 +17,7 @@ p.
pre.prettyprint
code.
- (cd:ChangeDetector)
-
+ constructor(cd:ChangeDetector)
:markdown
@@ -33,8 +32,7 @@ p.
pre.prettyprint
code.
- ()
-
+ detach()
:markdown
@@ -52,8 +50,7 @@ p.
pre.prettyprint
code.
- ()
-
+ reattach()
:markdown
@@ -72,8 +69,7 @@ p.
pre.prettyprint
code.
- ()
-
+ requestCheck()
:markdown
diff --git a/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade
index c0f82b89ce..ba77d1ca2c 100644
--- a/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade
+++ b/public/docs/js/latest/api/change_detection/DynamicChangeDetection-class.jade
@@ -1,7 +1,7 @@
p.
exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detection.js (line 24)
+ defined in angular2/src/change_detection/change_detection.js (line 39)
:markdown
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- (registry:PipeRegistry)
-
+ constructor(registry:PipeRegistry)
:markdown
@@ -29,8 +28,7 @@ p.
pre.prettyprint
code.
- (name:string, changeControlStrategy:string = DEFAULT)
-
+ createProtoChangeDetector(name:string, changeControlStrategy:string = DEFAULT)
:markdown
diff --git a/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade b/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade
index 4b243e4c42..446ba73a3c 100644
--- a/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade
+++ b/public/docs/js/latest/api/change_detection/JitChangeDetection-class.jade
@@ -1,7 +1,7 @@
p.
exported from angular2/change_detection
- defined in angular2/src/change_detection/change_detection.js (line 41)
+ defined in angular2/src/change_detection/change_detection.js (line 56)
:markdown
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- (registry:PipeRegistry)
-
+ constructor(registry:PipeRegistry)
:markdown
@@ -29,8 +28,7 @@ p.
pre.prettyprint
code.
- (name:string, changeControlStrategy:string = DEFAULT)
-
+ createProtoChangeDetector(name:string, changeControlStrategy:string = DEFAULT)
:markdown
diff --git a/public/docs/js/latest/api/change_detection/LifeCycle-class.jade b/public/docs/js/latest/api/change_detection/LifeCycle-class.jade
index da2e21d3fa..e3e627da2b 100644
--- a/public/docs/js/latest/api/change_detection/LifeCycle-class.jade
+++ b/public/docs/js/latest/api/change_detection/LifeCycle-class.jade
@@ -6,14 +6,14 @@ p.
: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
+ 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
+ This is a contrived example, since the bootstrap automatically runs inside of the `Zone`, which invokes
`lifecycle.tick()` on your behalf.
```javascript
@@ -33,8 +33,7 @@ p.
pre.prettyprint
code.
- (exceptionHandler:ExceptionHandler, changeDetector:ChangeDetector = null, enforceNoNewChanges:boolean = false)
-
+ constructor(exceptionHandler:ExceptionHandler, changeDetector:ChangeDetector = null, enforceNoNewChanges:boolean = false)
:markdown
@@ -49,8 +48,7 @@ p.
pre.prettyprint
code.
- (zone:VmTurnZone, changeDetector:ChangeDetector = null)
-
+ registerWith(zone:VmTurnZone, changeDetector:ChangeDetector = null)
:markdown
@@ -66,8 +64,7 @@ p.
pre.prettyprint
code.
- ()
-
+ tick()
:markdown
diff --git a/public/docs/js/latest/api/core/ExceptionHandler-class.jade b/public/docs/js/latest/api/core/ExceptionHandler-class.jade
index 7a66f87223..231c6a6cb6 100644
--- a/public/docs/js/latest/api/core/ExceptionHandler-class.jade
+++ b/public/docs/js/latest/api/core/ExceptionHandler-class.jade
@@ -38,8 +38,7 @@ p.
pre.prettyprint
code.
- (error, stackTrace = null, reason = null)
-
+ call(error, stackTrace = null, reason = null)
:markdown
diff --git a/public/docs/js/latest/api/core/NgElement-class.jade b/public/docs/js/latest/api/core/NgElement-class.jade
index c9cca63bf5..0cdc147335 100644
--- a/public/docs/js/latest/api/core/NgElement-class.jade
+++ b/public/docs/js/latest/api/core/NgElement-class.jade
@@ -17,8 +17,7 @@ p.
pre.prettyprint
code.
- (view, boundElementIndex)
-
+ constructor(view, boundElementIndex)
:markdown
@@ -45,8 +44,7 @@ p.
pre.prettyprint
code.
- (name:string)
-
+ getAttribute(name:string)
:markdown
diff --git a/public/docs/js/latest/api/core/VmTurnZone-class.jade b/public/docs/js/latest/api/core/VmTurnZone-class.jade
new file mode 100644
index 0000000000..8750aa7dba
--- /dev/null
+++ b/public/docs/js/latest/api/core/VmTurnZone-class.jade
@@ -0,0 +1,107 @@
+
+p.
+ exported from angular2/core
+ defined in angular2/src/core/zone/vm_turn_zone.js (line 14)
+
+:markdown
+ A wrapper around zones that lets you schedule tasks after it has executed a task.
+
+ The wrapper maintains an "inner" and "outer" `Zone`. The application code will executes
+ in the "inner" zone unless `runOutsideAngular` is explicitely called.
+
+ A typical application will create a singleton `VmTurnZone` whose outer `Zone` is the root `Zone`
+ and whose default `onTurnDone` runs the Angular digest.
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({enableLongStackTrace}, [object Object])
+
+
+ :markdown
+ Associates with this
+
+ - an "outer" zone, which is the one that created this.
+ - an "inner" zone, which is a child of the outer zone.
+
+
+
+
+
+ .l-sub-section
+ h3 initCallbacks
+
+
+ pre.prettyprint
+ code.
+ initCallbacks({onTurnStart, onTurnDone, onScheduleMicrotask, onErrorHandler} = {}, [object Object], [object Object], [object Object], [object Object])
+
+
+ :markdown
+ Initializes the zone hooks.
+
+
+
+
+
+
+ .l-sub-section
+ h3 run
+
+
+ pre.prettyprint
+ code.
+ run(fn)
+
+
+ :markdown
+ Runs `fn` in the inner zone and returns whatever it returns.
+
+ In a typical app where the inner zone is the Angular zone, this allows one to make use of the
+ Angular's auto digest mechanism.
+
+ ```
+ var zone: VmTurnZone = [;
+
+ zone.run(() => {
+ // auto-digest will run after this function is called from JS
+ });
+ ```
+
+
+
+
+
+ .l-sub-section
+ h3 runOutsideAngular
+
+
+ pre.prettyprint
+ code.
+ runOutsideAngular(fn)
+
+
+ :markdown
+ Runs `fn` in the outer zone and returns whatever it returns.
+
+ In a typical app where the inner zone is the Angular zone, this allows one to escape Angular's
+ auto-digest mechanism.
+
+ ```
+ var zone: VmTurnZone = ][;
+
+ zone.runOusideAngular(() => {
+ element.onClick(() => {
+ // Clicking on the element would not trigger the change detection
+ });
+ });
+ ```
+
+
+
+
diff --git a/public/docs/js/latest/api/core/_data.json b/public/docs/js/latest/api/core/_data.json
index 53ac5e7b4b..bd280845f4 100644
--- a/public/docs/js/latest/api/core/_data.json
+++ b/public/docs/js/latest/api/core/_data.json
@@ -9,5 +9,9 @@
"ExceptionHandler-class" : {
"title" : "ExceptionHandler Class"
+ },
+
+ "VmTurnZone-class" : {
+ "title" : "VmTurnZone Class"
}
}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/core/bootstrap-function.jade b/public/docs/js/latest/api/core/bootstrap-function.jade
index 02d5ad493b..b5d3e8ad40 100644
--- a/public/docs/js/latest/api/core/bootstrap-function.jade
+++ b/public/docs/js/latest/api/core/bootstrap-function.jade
@@ -59,10 +59,10 @@
1. It uses the component's `selector` property to locate the DOM element which needs to be upgraded into
the angular component.
- 2. It creates a new child injector (from the primordial injector) and configures the injector with the component's
+ 2. It creates a new child injector (from the platform injector) and configures the injector with the component's
`injectables`. Optionally, you can also override the injector configuration for an app by invoking
`bootstrap` with the `componentInjectableBindings` argument.
- 3. It creates a new [Zone] and connects it to the angular application's change detection domain instance.
+ 3. It creates a new `Zone` and connects it to the angular application's change detection domain instance.
4. It creates a shadow DOM on the selected component's host element and loads the template into it.
5. It instantiates the specified component.
6. Finally, Angular performs change detection to apply the initial data bindings for the application.
@@ -77,7 +77,7 @@
Angular creates a new application each time that the `bootstrap()` method is invoked. When multiple applications
are created for a page, Angular treats each application as independent within an isolated change detection and
- [Zone] domain. If you need to share data between applications, use the strategy described in the next
+ `Zone` domain. If you need to share data between applications, use the strategy described in the next
section, "Applications That Share Change Detection."
@@ -89,25 +89,25 @@
single change detection zone is created and therefore data can be shared across the applications.
- ## Primordial Injector
+ ## Platform Injector
When working within a browser window, there are many singleton resources: cookies, title, location, and others.
Angular services that represent these resources must likewise be shared across all Angular applications that
- occupy the same browser window. For this reason, Angular creates exactly one global primordial injector which stores
- all shared services, and each angular application injector has the primordial injector as its parent.
+ occupy the same browser window. For this reason, Angular creates exactly one global platform injector which stores
+ all shared services, and each angular application injector has the platform injector as its parent.
Each application has its own private injector as well. When there are multiple applications on a page, Angular treats
each application injector's services as private to that application.
# API
- - [appComponentType]: The root component which should act as the application. This is a reference to a [Type]
+ - `appComponentType`: The root component which should act as the application. This is a reference to a `Type`
which is annotated with `@Component(...)`.
- - [componentInjectableBindings]: An additional set of bindings that can be added to the [Component.injectables] to
- override default injection behavior.
- - [errorReporter]: `function(exception:any, stackTrace:string)` a default error reporter for unhandled exceptions.
+ - `componentInjectableBindings`: An additional set of bindings that can be added to `injectables` for the
+ ]Component
to override default injection behavior.
+ - `errorReporter`: `function(exception:any, stackTrace:string)` a default error reporter for unhandled exceptions.
- Returns a [Promise] with the application`s private [Injector].
+ Returns a `Promise` with the application`s private Injector
.
diff --git a/public/docs/js/latest/api/di/Binding-class.jade b/public/docs/js/latest/api/di/Binding-class.jade
index e0a1a40e5f..4b3447995e 100644
--- a/public/docs/js/latest/api/di/Binding-class.jade
+++ b/public/docs/js/latest/api/di/Binding-class.jade
@@ -4,9 +4,9 @@ p.
defined in angular2/src/di/binding.js (line 49)
:markdown
- Describes how the [Injector] should instantiate a given token.
+ Describes how the Injector
should instantiate a given token.
- See [bind].
+ See bind
.
## Example
@@ -26,7 +26,7 @@ p.
pre.prettyprint
code.
- (token, {
+ constructor(token, {
toClass,
toValue,
toAlias,
@@ -34,7 +34,6 @@ p.
toAsyncFactory,
deps
})
-
:markdown
@@ -49,8 +48,8 @@ p.
:markdown
- Used in conjunction with `toFactory` or `toAsyncFactory` and specifies the `token`s which should be injected
- into the factory function.
+ Used in conjunction with `toFactory` or `toAsyncFactory` and specifies a set of dependencies (as `token`s) which
+ should be injected into the factory function.
@@ -75,12 +74,13 @@ p.
pre.prettyprint
code.
- ()
-
+ resolve()
:markdown
+ Converts the Binding
into ResolvedBinding
.
+ Injector
internally only uses ResolvedBinding
, Binding
contains convenience binding syntax.
@@ -92,10 +92,10 @@ p.
:markdown
- Bind a key to an alias of an existing key.
+ Binds a key to the alias for an existing key.
- An alias means that we will return the same instance as if the alias token was used. (This is in contrast to
- `toClass` where a separet instance of `toClass` will be returned.)
+ An alias means that Injector
returns the same instance as if the alias token was used. This is in contrast to
+ `toClass` where a separate instance of `toClass` is returned.
@@ -133,7 +133,7 @@ p.
:markdown
- Bind a key to a function which computes the value asynchronously.
+ Binds a key to a function which computes the value asynchronously.
@@ -150,9 +150,10 @@ p.
injector.asyncGet(String).then((v) => expect(v).toBe('Value: 3'));
```
- The interesting thing to note is that event thougt `Numeber` has an async factory, the `String` factory
- function takes the resolved value. This shows that the [Injector] delays executing of the `String` factory
- until after the `Number` is resolved. This can only be done if the `token` is retrive
+ The interesting thing to note is that event though `Number` has an async factory, the `String` factory
+ function takes the resolved value. This shows that the Injector
delays executing the `String` factory
+ until after the `Number` is resolved. This can only be done if the `token` is retrieved using the
+ `asyncGet` API in the Injector
.
@@ -164,11 +165,11 @@ p.
:markdown
- Bind an interface to an implementation / subclass.
+ Binds an interface to an implementation / subclass.
- Becuse `toAlias` and `toClass` are often confused the example contains both use cases for easy comparison.
+ Becuse `toAlias` and `toClass` are often confused, the example contains both use cases for easy comparison.
```javascript
@@ -202,7 +203,7 @@ p.
:markdown
- Bind a key to a function which computes the value.
+ Binds a key to a function which computes the value.
@@ -227,7 +228,7 @@ p.
:markdown
- Bind a key to a value.
+ Binds a key to a value.
@@ -249,7 +250,7 @@ p.
:markdown
- Token used when retriving this binding. Usually the [Type].
+ Token used when retrieving this binding. Usually the `Type`.
diff --git a/public/docs/js/latest/api/di/BindingBuilder-class.jade b/public/docs/js/latest/api/di/BindingBuilder-class.jade
index ad4e6be0ef..4f2ca74487 100644
--- a/public/docs/js/latest/api/di/BindingBuilder-class.jade
+++ b/public/docs/js/latest/api/di/BindingBuilder-class.jade
@@ -1,10 +1,11 @@
p.
exported from angular2/di
- defined in angular2/src/di/binding.js (line 299)
+ defined in angular2/src/di/binding.js (line 315)
:markdown
- Helper class for [bind] function.
+ Helper class for the bind
function.
+
.l-main-section
h2 Members
.l-sub-section
@@ -13,8 +14,7 @@ p.
pre.prettyprint
code.
- (token)
-
+ constructor(token)
:markdown
@@ -29,19 +29,18 @@ p.
pre.prettyprint
code.
- (aliasToken)
-
+ toAlias(aliasToken)
:markdown
- Bind a key to an alias of an existing key.
+ Binds a key to the alias for an existing key.
An alias means that we will return the same instance as if the alias token was used. (This is in contrast to
`toClass` where a separet instance of `toClass` will be returned.)
- Becuse `toAlias` and `toClass` are often confused the example contains both use cases for easy comparison.
+ Becuse `toAlias` and `toClass` are often confused, the example contains both use cases for easy comparison.
```javascript
@@ -75,12 +74,11 @@ p.
pre.prettyprint
code.
- (factoryFunction:Function, dependencies:List = null)
-
+ toAsyncFactory(factoryFunction:Function, dependencies:List = null)
:markdown
- Bind a key to a function which computes the value asynchronously.
+ Binds a key to a function which computes the value asynchronously.
@@ -96,9 +94,10 @@ p.
injector.asyncGet(String).then((v) => expect(v).toBe('Value: 3'));
```
- The interesting thing to note is that event thougt `Numeber` has an async factory, the `String` factory
- function takes the resolved value. This shows that the [Injector] delays executing of the `String` factory
- until after the `Number` is resolved. This can only be done if the `token` is retrive
+ The interesting thing to note is that event though `Number` has an async factory, the `String` factory
+ function takes the resolved value. This shows that the Injector
delays executing of the `String` factory
+ until after the `Number` is resolved. This can only be done if the `token` is retrieved using the
+ the `asyncGet` API in the Injector
.
@@ -110,16 +109,15 @@ p.
pre.prettyprint
code.
- (type:Type)
-
+ toClass(type:Type)
:markdown
- Bind an interface to an implementation / subclass.
+ Binds an interface to an implementation / subclass.
- Becuse `toAlias` and `toClass` are often confused the example contains both use cases for easy comparison.
+ Because `toAlias` and `toClass` are often confused, the example contains both use cases for easy comparison.
```javascript
@@ -153,12 +151,11 @@ p.
pre.prettyprint
code.
- (factoryFunction:Function, dependencies:List = null)
-
+ toFactory(factoryFunction:Function, dependencies:List = null)
:markdown
- Bind a key to a function which computes the value.
+ Binds a key to a function which computes the value.
@@ -182,12 +179,11 @@ p.
pre.prettyprint
code.
- (value)
-
+ toValue(value)
:markdown
- Bind a key to a value.
+ Binds a key to a value.
diff --git a/public/docs/js/latest/api/di/Injector-class.jade b/public/docs/js/latest/api/di/Injector-class.jade
index 01b9bdccc3..a44b31371b 100644
--- a/public/docs/js/latest/api/di/Injector-class.jade
+++ b/public/docs/js/latest/api/di/Injector-class.jade
@@ -25,8 +25,8 @@ p.
```
- Next we need to write the code that creates and instantiates the `Injector`. We then ask for the `root` object,
- `Car`, so that the `Injector` can recursively build all of that object's dependencies.
+ Next we need to write the code that creates and instantiates the `Injector`. We then ask for the `root` object,
+ `Car`, so that the `Injector` can recursively build all of that object's dependencies.
```javascript
main() {
@@ -36,7 +36,7 @@ p.
var car = injector.get(Car);
}
```
- Notice that we don't use the `new` operator because we explicitly want to have the `Injector` resolve all of the
+ Notice that we don't use the `new` operator because we explicitly want to have the `Injector` resolve all of the
object's dependencies automatically.
.l-main-section
@@ -47,8 +47,7 @@ p.
pre.prettyprint
code.
- (bindings:List<ResolvedBinding>, parent:Injector, defaultBindings:boolean, [object Object], [object Object], [object Object])
-
+ constructor(bindings:List<ResolvedBinding>, parent:Injector, defaultBindings:boolean, [object Object], [object Object], [object Object])
:markdown
@@ -63,12 +62,11 @@ p.
pre.prettyprint
code.
- (token, [object Object])
-
+ asyncGet(token, [object Object])
:markdown
- Used to retrieve an instance from the injector asynchronously. Used with asynchronous bindings.
+ Retrieves an instance from the injector asynchronously. Used with asynchronous bindings.
@@ -81,12 +79,11 @@ p.
pre.prettyprint
code.
- (bindings:List<ResolvedBinding>, [object Object])
-
+ createChildFromResolved(bindings:List<ResolvedBinding>, [object Object])
:markdown
- Create a child injector and load a new set of [ResolvedBinding] into it.
+ Creates a child injector and loads a new set of ResolvedBinding
s into it.
@@ -99,12 +96,11 @@ p.
pre.prettyprint
code.
- (bindings:List<ResolvedBinding>, {defaultBindings=false}={}, [object Object], [object Object])
-
+ fromResolvedBindings(bindings:List<ResolvedBinding>, {defaultBindings=false}={}, [object Object], [object Object])
:markdown
- Creates an injector from previously resolved bindings. This bypasses resolution and flattening. This API is
+ Creates an injector from previously resolved bindings. This bypasses resolution and flattening. This API is the
recommended way to construct injectors in performance-sensitive parts.
@@ -118,12 +114,11 @@ p.
pre.prettyprint
code.
- (token, [object Object])
-
+ get(token, [object Object])
:markdown
- Used to retrieve an instance from the injector.
+ Retrieves an instance from the injector.
@@ -136,12 +131,11 @@ p.
pre.prettyprint
code.
- (token, [object Object])
-
+ getOptional(token, [object Object])
:markdown
- Used to retrieve an instance from the injector.
+ Retrieves an instance from the injector.
@@ -154,15 +148,15 @@ p.
pre.prettyprint
code.
- (bindings:List, [object Object])
-
+ resolve(bindings:List, [object Object])
:markdown
- Turns a list of binding definitions into internal resolved list of resolved bindings.
+ Turns a list of binding definitions into an internal resolved list of resolved bindings.
- A resolution is a process of flattening multiple nested lists and converting individual bindings into a
- list of [ResolvedBinding]s. The resolution can be cached for performance sensitive code.
+ A resolution is a process of flattening multiple nested lists and converting individual bindings into a
+ list of ResolvedBinding
s. The resolution can be cached by `resolve` for the Injector
for
+ performance-sensitive code.
@@ -175,15 +169,15 @@ p.
pre.prettyprint
code.
- (bindings:List, {defaultBindings=false}={}, [object Object], [object Object])
-
+ resolveAndCreate(bindings:List, {defaultBindings=false}={}, [object Object], [object Object])
:markdown
Resolves bindings and creates an injector based on those bindings. This function is slower than the
- corresponding [fromResolvedBindings] because it needs to resolve bindings first. See [Injector.resolve].
+ corresponding `fromResolvedBindings` because it needs to resolve bindings first. See `resolve` for the
+ Injector
.
- Prefer [fromResolvedBindings] in performance-critical code that creates lots of injectors.
+ Prefer `fromResolvedBindings` in performance-critical code that creates lots of injectors.
@@ -196,18 +190,15 @@ p.
pre.prettyprint
code.
- (bindings:List, [object Object])
-
+ resolveAndCreateChild(bindings:List, [object Object])
:markdown
- Create a child injector and load a new set of bindings into it.
+ Creates a child injector and loads a new set of bindings into it.
- A resolution is a process of flattening multiple nested and converting individual bindings into a
- list of [ResolvedBinding]s. The resolution can be cached [Injector.resolve] for performance sensitive
- code.
-
- See: [Injector.resolve].
+ A resolution is a process of flattening multiple nested lists and converting individual bindings into a
+ list of ResolvedBinding
s. The resolution can be cached by `resolve` for the Injector
for
+ performance-sensitive code.
diff --git a/public/docs/js/latest/api/di/Key-class.jade b/public/docs/js/latest/api/di/Key-class.jade
index 14633088b2..8a9f964e2a 100644
--- a/public/docs/js/latest/api/di/Key-class.jade
+++ b/public/docs/js/latest/api/di/Key-class.jade
@@ -4,14 +4,14 @@ p.
defined in angular2/src/di/key.js (line 17)
:markdown
- A unique object used for retrieving items from the Injector.
+ A unique object used for retrieving items from the Injector
.
- [Key]s have:
- - system wide unique [id].
- - [token] usually the [Type] of the instance.
+ Keys have:
+ - a system-wide unique `id`.
+ - a `token`, usually the `Type` of the instance.
- [Key]s are used internaly in [Injector] becouse they have system wide unique [id]s which allow the injector to
- index in arrays rather ther look up items in maps.
+ Keys are used internally by the Injector
because their system-wide unique `id`s allow the
+ injector to index in arrays rather than looking up items in maps.
.l-main-section
h2 Members
@@ -21,8 +21,7 @@ p.
pre.prettyprint
code.
- (token, id)
-
+ constructor(token, id)
:markdown
@@ -37,12 +36,11 @@ p.
pre.prettyprint
code.
- (token)
-
+ get(token)
:markdown
- Retrieve a [Key] for a token.
+ Retrieves a `Key` for a token.
diff --git a/public/docs/js/latest/api/di/ResolvedBinding-class.jade b/public/docs/js/latest/api/di/ResolvedBinding-class.jade
new file mode 100644
index 0000000000..2e000b1f59
--- /dev/null
+++ b/public/docs/js/latest/api/di/ResolvedBinding-class.jade
@@ -0,0 +1,75 @@
+
+p.
+ exported from angular2/di
+ defined in angular2/src/di/binding.js (line 263)
+
+:markdown
+ An internal resolved representation of a Binding
used by the Injector
.
+
+ A Binding
is resolved when it has a factory function. Binding to a class, alias, or value, are just convenience
+ methods, as Injector
only operates on calling factory functions.
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(key:Key, factory:Function, dependencies:List<Dependency>, providedAsPromise:boolean)
+
+
+ :markdown
+
+
+
+
+
+ .l-sub-section
+ h3 dependencies
+
+
+
+ :markdown
+ Arguments (dependencies) to the `factory` function.
+
+
+
+
+
+ .l-sub-section
+ h3 factory
+
+
+
+ :markdown
+ Factory function which can return an instance of an object represented by a key.
+
+
+
+
+
+ .l-sub-section
+ h3 key
+
+
+
+ :markdown
+ A key, usually a `Type`.
+
+
+
+
+
+ .l-sub-section
+ h3 providedAsPromise
+
+
+
+ :markdown
+ Specifies whether the `factory` function returns a `Promise`.
+
+
+
+
diff --git a/public/docs/js/latest/api/di/_data.json b/public/docs/js/latest/api/di/_data.json
index 0e3c0fa90c..5372f54682 100644
--- a/public/docs/js/latest/api/di/_data.json
+++ b/public/docs/js/latest/api/di/_data.json
@@ -3,6 +3,10 @@
"title" : "Binding Class"
},
+ "ResolvedBinding-class" : {
+ "title" : "ResolvedBinding Class"
+ },
+
"bind-function" : {
"title" : "bind Function"
},
diff --git a/public/docs/js/latest/api/di/bind-function.jade b/public/docs/js/latest/api/di/bind-function.jade
index 8b0f3979fb..8aef313cf0 100644
--- a/public/docs/js/latest/api/di/bind-function.jade
+++ b/public/docs/js/latest/api/di/bind-function.jade
@@ -8,7 +8,16 @@
exported from angular2/di
:markdown
- Provides fluent API for imperative construction of [Binding] objects. (JavaScript only.)
+ Provides an API for imperatively constructing Binding
s.
+
+ This is only relevant for JavaScript. See BindingBuilder
.
+
+ ## Example
+
+ ```javascript
+ bind(MyInterface).toClass(MyClass)
+
+ ```
diff --git a/public/docs/js/latest/api/di_annotations/DependencyAnnotation-class.jade b/public/docs/js/latest/api/di_annotations/DependencyAnnotation-class.jade
index 515936f166..d5b0bb8d65 100644
--- a/public/docs/js/latest/api/di_annotations/DependencyAnnotation-class.jade
+++ b/public/docs/js/latest/api/di_annotations/DependencyAnnotation-class.jade
@@ -1,13 +1,12 @@
p.
exported from angular2/di_annotations
- defined in angular2/src/di/annotations.js (line 109)
+ defined in angular2/src/di/annotations.js (line 110)
:markdown
`DependencyAnnotation` is used by the framework to extend DI.
- Only annotations implementing `DependencyAnnotation` will be added
- to the list of dependency properties.
+ Only annotations implementing `DependencyAnnotation` are added to the list of dependency properties.
For example:
@@ -37,8 +36,7 @@ p.
pre.prettyprint
code.
- ()
-
+ constructor()
:markdown
diff --git a/public/docs/js/latest/api/di_annotations/Inject-class.jade b/public/docs/js/latest/api/di_annotations/Inject-class.jade
index 5cfe4759e5..24d9efb422 100644
--- a/public/docs/js/latest/api/di_annotations/Inject-class.jade
+++ b/public/docs/js/latest/api/di_annotations/Inject-class.jade
@@ -4,7 +4,7 @@ p.
defined in angular2/src/di/annotations.js (line 13)
:markdown
- A parameter annotation that creates a synchronous eager dependency.
+ A parameter annotation that specifies a dependency.
```
class AComponent {
@@ -20,8 +20,7 @@ p.
pre.prettyprint
code.
- (token)
-
+ constructor(token)
:markdown
diff --git a/public/docs/js/latest/api/di_annotations/InjectLazy-class.jade b/public/docs/js/latest/api/di_annotations/InjectLazy-class.jade
index 2130b04f4a..448128a8d8 100644
--- a/public/docs/js/latest/api/di_annotations/InjectLazy-class.jade
+++ b/public/docs/js/latest/api/di_annotations/InjectLazy-class.jade
@@ -22,8 +22,7 @@ p.
pre.prettyprint
code.
- (token)
-
+ constructor(token)
:markdown
diff --git a/public/docs/js/latest/api/di_annotations/InjectPromise-class.jade b/public/docs/js/latest/api/di_annotations/InjectPromise-class.jade
index 3e8b123017..801a347ea4 100644
--- a/public/docs/js/latest/api/di_annotations/InjectPromise-class.jade
+++ b/public/docs/js/latest/api/di_annotations/InjectPromise-class.jade
@@ -4,7 +4,7 @@ p.
defined in angular2/src/di/annotations.js (line 34)
:markdown
- A parameter annotation that creates an asynchronous eager dependency.
+ A parameter annotation that specifies a `Promise` of a dependency.
```
class AComponent {
@@ -22,8 +22,7 @@ p.
pre.prettyprint
code.
- (token)
-
+ constructor(token)
:markdown
diff --git a/public/docs/js/latest/api/di_annotations/Injectable-class.jade b/public/docs/js/latest/api/di_annotations/Injectable-class.jade
index 22abee4c25..dd8c56f2b0 100644
--- a/public/docs/js/latest/api/di_annotations/Injectable-class.jade
+++ b/public/docs/js/latest/api/di_annotations/Injectable-class.jade
@@ -1,11 +1,11 @@
p.
exported from angular2/di_annotations
- defined in angular2/src/di/annotations.js (line 133)
+ defined in angular2/src/di/annotations.js (line 134)
:markdown
- A marker annotation that marks a class as available to `Injector`s for creation. Used by tooling for generating
- constructor stubs.
+ A marker annotation that marks a class as available to `Injector` for creation. Used by tooling for
+ generating constructor stubs.
```
class NeedsService {
@@ -23,8 +23,7 @@ p.
pre.prettyprint
code.
- ()
-
+ constructor()
:markdown
diff --git a/public/docs/js/latest/api/di_annotations/Optional-class.jade b/public/docs/js/latest/api/di_annotations/Optional-class.jade
index 36f780fafe..55ab4225bc 100644
--- a/public/docs/js/latest/api/di_annotations/Optional-class.jade
+++ b/public/docs/js/latest/api/di_annotations/Optional-class.jade
@@ -1,10 +1,12 @@
p.
exported from angular2/di_annotations
- defined in angular2/src/di/annotations.js (line 75)
+ defined in angular2/src/di/annotations.js (line 77)
:markdown
- A parameter annotation that marks a dependency as optional. (Injects `null` if not found.)
+ A parameter annotation that marks a dependency as optional. Injector
provides `null` if the dependency is not
+ found.
+
```
class AComponent {
constructor(@Optional() aService:MyService) {
@@ -21,8 +23,7 @@ p.
pre.prettyprint
code.
- ()
-
+ constructor()
:markdown
diff --git a/public/docs/js/latest/api/di_errors/AbstractBindingError-class.jade b/public/docs/js/latest/api/di_errors/AbstractBindingError-class.jade
new file mode 100644
index 0000000000..565ab4cd54
--- /dev/null
+++ b/public/docs/js/latest/api/di_errors/AbstractBindingError-class.jade
@@ -0,0 +1,92 @@
+
+p.
+ exported from angular2/di_errors
+ defined in angular2/src/di/exceptions.js (line 32)
+
+:markdown
+ Base class for all errors arising from misconfigured bindings.
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(key, constructResolvingMessage:Function)
+
+
+ :markdown
+
+
+
+
+
+ .l-sub-section
+ h3 addKey
+
+
+ pre.prettyprint
+ code.
+ addKey(key)
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 constructResolvingMessage
+
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 keys
+
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 message
+
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/di_errors/AsyncBindingError-class.jade b/public/docs/js/latest/api/di_errors/AsyncBindingError-class.jade
index 225de38d33..e5fd0bdbf8 100644
--- a/public/docs/js/latest/api/di_errors/AsyncBindingError-class.jade
+++ b/public/docs/js/latest/api/di_errors/AsyncBindingError-class.jade
@@ -4,7 +4,7 @@ p.
defined in angular2/src/di/exceptions.js (line 95)
:markdown
- Throw when trying to retrieve async [Binding] using sync API.
+ Thrown when trying to retrieve an async Binding
using the sync API.
## Example
@@ -22,8 +22,8 @@ p.
}).toThrowError(AsycBindingError);
```
- The above example throws because `String` dependes no `Numeber` which is async. If any binding in the dependency
- graph is async then the graph can only be retrieved using `asyncGet` API.
+ The above example throws because `String` depends on `Number` which is async. If any binding in the dependency
+ graph is async then the graph can only be retrieved using the `asyncGet` API.
.l-main-section
h2 Members
@@ -33,8 +33,7 @@ p.
pre.prettyprint
code.
- (key)
-
+ constructor(key)
:markdown
diff --git a/public/docs/js/latest/api/di_errors/CyclicDependencyError-class.jade b/public/docs/js/latest/api/di_errors/CyclicDependencyError-class.jade
index 2637123ccb..23169fe1a4 100644
--- a/public/docs/js/latest/api/di_errors/CyclicDependencyError-class.jade
+++ b/public/docs/js/latest/api/di_errors/CyclicDependencyError-class.jade
@@ -4,7 +4,7 @@ p.
defined in angular2/src/di/exceptions.js (line 124)
:markdown
- Throw when dependencies from a cyle.
+ Thrown when dependencies form a cycle.
## Example:
@@ -17,7 +17,7 @@ p.
}
```
- Retrieving `A` or `B` will throw `CyclicDependencyError` as such a graph can not be constructed.
+ Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.
.l-main-section
h2 Members
@@ -27,8 +27,7 @@ p.
pre.prettyprint
code.
- (key)
-
+ constructor(key)
:markdown
diff --git a/public/docs/js/latest/api/di_errors/InstantiationError-class.jade b/public/docs/js/latest/api/di_errors/InstantiationError-class.jade
index 5cf744fdb5..669af66944 100644
--- a/public/docs/js/latest/api/di_errors/InstantiationError-class.jade
+++ b/public/docs/js/latest/api/di_errors/InstantiationError-class.jade
@@ -4,9 +4,9 @@ p.
defined in angular2/src/di/exceptions.js (line 141)
:markdown
- Thrown when constructing type returns with an Error.
+ Thrown when a constructing type returns with an Error.
- The `InstantiationError` class contains the original error plus dependency graph which caused this object to be
+ The `InstantiationError` class contains the original error plus the dependency graph which caused this object to be
instantiated.
.l-main-section
@@ -17,8 +17,7 @@ p.
pre.prettyprint
code.
- (originalException, key)
-
+ constructor(originalException, key)
:markdown
diff --git a/public/docs/js/latest/api/di_errors/InvalidBindingError-class.jade b/public/docs/js/latest/api/di_errors/InvalidBindingError-class.jade
index 97442ab4a0..b0bb7695a2 100644
--- a/public/docs/js/latest/api/di_errors/InvalidBindingError-class.jade
+++ b/public/docs/js/latest/api/di_errors/InvalidBindingError-class.jade
@@ -4,7 +4,7 @@ p.
defined in angular2/src/di/exceptions.js (line 157)
:markdown
- Thrown when object other then [Binding] (or [Type]) is passed to [Injector] creation.
+ Thrown when an object other then Binding
(or `Type`) is passed to Injector
creation.
.l-main-section
h2 Members
@@ -14,8 +14,7 @@ p.
pre.prettyprint
code.
- (binding)
-
+ constructor(binding)
:markdown
@@ -42,8 +41,7 @@ p.
pre.prettyprint
code.
- ()
-
+ toString()
:markdown
diff --git a/public/docs/js/latest/api/di_errors/NoAnnotationError-class.jade b/public/docs/js/latest/api/di_errors/NoAnnotationError-class.jade
index 37ec650ddf..beced7ce1b 100644
--- a/public/docs/js/latest/api/di_errors/NoAnnotationError-class.jade
+++ b/public/docs/js/latest/api/di_errors/NoAnnotationError-class.jade
@@ -4,10 +4,10 @@ p.
defined in angular2/src/di/exceptions.js (line 177)
:markdown
- Thrown when the class as no annotation information.
+ Thrown when the class has no annotation information.
- Lack of annotation prevents the [Injector] from determininig what dependencies need to be injected int the
- constructor.
+ Lack of annotation information prevents the Injector
from determining which dependencies need to be injected into
+ the constructor.
.l-main-section
h2 Members
@@ -17,8 +17,7 @@ p.
pre.prettyprint
code.
- (typeOrFunc)
-
+ constructor(typeOrFunc)
:markdown
@@ -45,8 +44,7 @@ p.
pre.prettyprint
code.
- ()
-
+ toString()
:markdown
diff --git a/public/docs/js/latest/api/di_errors/NoBindingError-class.jade b/public/docs/js/latest/api/di_errors/NoBindingError-class.jade
new file mode 100644
index 0000000000..341b13edf2
--- /dev/null
+++ b/public/docs/js/latest/api/di_errors/NoBindingError-class.jade
@@ -0,0 +1,25 @@
+
+p.
+ exported from angular2/di_errors
+ defined in angular2/src/di/exceptions.js (line 61)
+
+:markdown
+ Thrown when trying to retrieve a dependency by `Key` from Injector
, but the Injector
does not have a
+ Binding
for Key
.
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(key)
+
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/di_errors/_data.json b/public/docs/js/latest/api/di_errors/_data.json
index 67fab15cd6..41a206109f 100644
--- a/public/docs/js/latest/api/di_errors/_data.json
+++ b/public/docs/js/latest/api/di_errors/_data.json
@@ -1,10 +1,10 @@
{
- "ProviderError-class" : {
- "title" : "ProviderError Class"
+ "AbstractBindingError-class" : {
+ "title" : "AbstractBindingError Class"
},
- "NoProviderError-class" : {
- "title" : "NoProviderError Class"
+ "NoBindingError-class" : {
+ "title" : "NoBindingError Class"
},
"AsyncBindingError-class" : {
diff --git a/public/docs/js/latest/api/directives/For-class.jade b/public/docs/js/latest/api/directives/For-class.jade
index 0e809b3ace..c8200f39a8 100644
--- a/public/docs/js/latest/api/directives/For-class.jade
+++ b/public/docs/js/latest/api/directives/For-class.jade
@@ -41,8 +41,7 @@ p.
pre.prettyprint
code.
- (viewContainer:ViewContainer)
-
+ constructor(viewContainer:ViewContainer)
:markdown
@@ -57,8 +56,7 @@ p.
pre.prettyprint
code.
- (tuples, viewContainer)
-
+ bulkInsert(tuples, viewContainer)
:markdown
@@ -74,8 +72,7 @@ p.
pre.prettyprint
code.
- (tuples, viewContainer)
-
+ bulkRemove(tuples, viewContainer)
:markdown
@@ -91,8 +88,7 @@ p.
pre.prettyprint
code.
- (changes)
-
+ iterableChanges(changes)
:markdown
@@ -108,8 +104,7 @@ p.
pre.prettyprint
code.
- (view, record)
-
+ perViewChange(view, record)
:markdown
diff --git a/public/docs/js/latest/api/directives/If-class.jade b/public/docs/js/latest/api/directives/If-class.jade
index bac35a01fd..b43008107f 100644
--- a/public/docs/js/latest/api/directives/If-class.jade
+++ b/public/docs/js/latest/api/directives/If-class.jade
@@ -32,8 +32,7 @@ p.
pre.prettyprint
code.
- (viewContainer: ViewContainer)
-
+ constructor(viewContainer: ViewContainer)
:markdown
@@ -48,8 +47,7 @@ p.
pre.prettyprint
code.
- (newCondition)
-
+ condition(newCondition)
:markdown
diff --git a/public/docs/js/latest/api/directives/Switch-class.jade b/public/docs/js/latest/api/directives/Switch-class.jade
index 8945471ca8..dd19917ed2 100644
--- a/public/docs/js/latest/api/directives/Switch-class.jade
+++ b/public/docs/js/latest/api/directives/Switch-class.jade
@@ -36,8 +36,7 @@ p.
pre.prettyprint
code.
- ()
-
+ constructor()
:markdown
@@ -52,8 +51,7 @@ p.
pre.prettyprint
code.
- (value)
-
+ value(value)
:markdown
diff --git a/public/docs/js/latest/api/directives/SwitchDefault-class.jade b/public/docs/js/latest/api/directives/SwitchDefault-class.jade
index 447d76f10a..7b2aebe2ec 100644
--- a/public/docs/js/latest/api/directives/SwitchDefault-class.jade
+++ b/public/docs/js/latest/api/directives/SwitchDefault-class.jade
@@ -22,8 +22,7 @@ p.
pre.prettyprint
code.
- (viewContainer: ViewContainer, sswitch: Switch)
-
+ constructor(viewContainer: ViewContainer, sswitch: Switch)
:markdown
diff --git a/public/docs/js/latest/api/directives/SwitchWhen-class.jade b/public/docs/js/latest/api/directives/SwitchWhen-class.jade
index 35ec0040e9..45bc3de552 100644
--- a/public/docs/js/latest/api/directives/SwitchWhen-class.jade
+++ b/public/docs/js/latest/api/directives/SwitchWhen-class.jade
@@ -26,8 +26,7 @@ p.
pre.prettyprint
code.
- (viewContainer: ViewContainer, sswitch: Switch)
-
+ constructor(viewContainer: ViewContainer, sswitch: Switch)
:markdown
@@ -42,8 +41,7 @@ p.
pre.prettyprint
code.
- (value)
-
+ when(value)
:markdown
diff --git a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade b/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade
index 1369ab6def..603dd664fc 100644
--- a/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade
+++ b/public/docs/js/latest/api/forms/CheckboxControlValueAccessor-class.jade
@@ -20,8 +20,7 @@ p.
pre.prettyprint
code.
- (cd:ControlDirective, setCheckedProperty:Function)
-
+ constructor(cd:ControlDirective, setCheckedProperty:Function)
:markdown
@@ -48,8 +47,7 @@ p.
pre.prettyprint
code.
- (value)
-
+ writeValue(value)
:markdown
diff --git a/public/docs/js/latest/api/forms/Control-class.jade b/public/docs/js/latest/api/forms/Control-class.jade
index e5c1437845..53db1be371 100644
--- a/public/docs/js/latest/api/forms/Control-class.jade
+++ b/public/docs/js/latest/api/forms/Control-class.jade
@@ -6,8 +6,8 @@ p.
:markdown
Defines a part of a form that cannot be divided into other controls.
- `Control` is one of the three fundamental building blocks used to define forms in Angular, along with [ControlGroup]
- and [ControlArray].
+ `Control` is one of the three fundamental building blocks used to define forms in Angular, along with
+ ControlGroup
and ControlArray
.
.l-main-section
h2 Members
@@ -17,8 +17,7 @@ p.
pre.prettyprint
code.
- (value:any, validator:Function = Validators.nullValidator)
-
+ constructor(value:any, validator:Function = Validators.nullValidator)
:markdown
@@ -33,8 +32,7 @@ p.
pre.prettyprint
code.
- (value:any)
-
+ updateValue(value:any)
:markdown
diff --git a/public/docs/js/latest/api/forms/ControlArray-class.jade b/public/docs/js/latest/api/forms/ControlArray-class.jade
index b37fc561e2..bd71094463 100644
--- a/public/docs/js/latest/api/forms/ControlArray-class.jade
+++ b/public/docs/js/latest/api/forms/ControlArray-class.jade
@@ -1,17 +1,18 @@
p.
exported from angular2/forms
- defined in angular2/src/forms/model.js (line 217)
+ defined in angular2/src/forms/model.js (line 219)
:markdown
Defines a part of a form, of variable length, that can contain other controls.
- A `ControlArray` aggregates the values and errors of each [Control] in the group. Thus, if one of the controls in a
- group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group changes
- as well.
+ A `ControlArray` aggregates the values and errors of each Control
in the group. Thus, if one of the controls
+ in a group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group
+ changes as well.
- `ControlArray` is one of the three fundamental building blocks used to define forms in Angular, along with [Control]
- and [ControlGroup]. [ControlGroup] can also contain other controls, but is of fixed length.
+ `ControlArray` is one of the three fundamental building blocks used to define forms in Angular, along with
+ Control
and ControlGroup
. ControlGroup
can also contain other controls, but is of fixed
+ length.
.l-main-section
h2 Members
@@ -21,8 +22,7 @@ p.
pre.prettyprint
code.
- (controls:List<AbstractControl>, validator:Function = Validators.array)
-
+ constructor(controls:List<AbstractControl>, validator:Function = Validators.array)
:markdown
@@ -37,8 +37,7 @@ p.
pre.prettyprint
code.
- (index:number)
-
+ at(index:number)
:markdown
@@ -66,8 +65,7 @@ p.
pre.prettyprint
code.
- (index:number, control:AbstractControl)
-
+ insert(index:number, control:AbstractControl)
:markdown
@@ -95,8 +93,7 @@ p.
pre.prettyprint
code.
- (control:AbstractControl)
-
+ push(control:AbstractControl)
:markdown
@@ -112,8 +109,7 @@ p.
pre.prettyprint
code.
- (index:number)
-
+ removeAt(index:number)
:markdown
diff --git a/public/docs/js/latest/api/forms/ControlDirective-class.jade b/public/docs/js/latest/api/forms/ControlDirective-class.jade
index b7bfadb2b5..a1884dcecd 100644
--- a/public/docs/js/latest/api/forms/ControlDirective-class.jade
+++ b/public/docs/js/latest/api/forms/ControlDirective-class.jade
@@ -12,7 +12,7 @@ p.
the control will reflect that change. Likewise, if the value of the control changes, the input element reflects that
change.
- Here we use [FormDirectives], rather than importing each form directive individually, e.g.
+ Here we use FormDirectives
, rather than importing each form directive individually, e.g.
`ControlDirective`, `ControlGroupDirective`. This is just a shorthand for the same end result.
```
@@ -39,8 +39,7 @@ p.
pre.prettyprint
code.
- (groupDirective:ControlGroupDirective, valueAccessor:DefaultValueAccessor)
-
+ constructor(groupDirective:ControlGroupDirective, valueAccessor:DefaultValueAccessor)
:markdown
@@ -67,8 +66,7 @@ p.
pre.prettyprint
code.
- (_)
-
+ onChange(_)
:markdown
diff --git a/public/docs/js/latest/api/forms/ControlGroup-class.jade b/public/docs/js/latest/api/forms/ControlGroup-class.jade
index 2fc77357d4..ca4d52c4a9 100644
--- a/public/docs/js/latest/api/forms/ControlGroup-class.jade
+++ b/public/docs/js/latest/api/forms/ControlGroup-class.jade
@@ -1,17 +1,18 @@
p.
exported from angular2/forms
- defined in angular2/src/forms/model.js (line 131)
+ defined in angular2/src/forms/model.js (line 132)
:markdown
Defines a part of a form, of fixed length, that can contain other controls.
- A ControlGroup aggregates the values and errors of each [Control] in the group. Thus, if one of the controls in a
- group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group changes
- as well.
+ A ControlGroup aggregates the values and errors of each Control
in the group. Thus, if one of the controls
+ in a group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group
+ changes as well.
- `ControlGroup` is one of the three fundamental building blocks used to define forms in Angular, along with [Control]
- and [ControlArray]. [ControlArray] can also contain other controls, but is of variable length.
+ `ControlGroup` is one of the three fundamental building blocks used to define forms in Angular, along with
+ Control
and ControlArray
. ControlArray
can also contain other controls, but is of variable
+ length.
.l-main-section
h2 Members
@@ -21,8 +22,7 @@ p.
pre.prettyprint
code.
- (controls:StringMap, optionals:StringMap = null, validator:Function = Validators.group)
-
+ constructor(controls:StringMap, optionals:StringMap = null, validator:Function = Validators.group)
:markdown
@@ -37,8 +37,7 @@ p.
pre.prettyprint
code.
- (controlName:string)
-
+ contains(controlName:string)
:markdown
@@ -66,8 +65,7 @@ p.
pre.prettyprint
code.
- (controlName:string)
-
+ exclude(controlName:string)
:markdown
@@ -83,8 +81,7 @@ p.
pre.prettyprint
code.
- (controlName:string)
-
+ include(controlName:string)
:markdown
diff --git a/public/docs/js/latest/api/forms/ControlGroupDirective-class.jade b/public/docs/js/latest/api/forms/ControlGroupDirective-class.jade
index 7becced19d..2259edeeac 100644
--- a/public/docs/js/latest/api/forms/ControlGroupDirective-class.jade
+++ b/public/docs/js/latest/api/forms/ControlGroupDirective-class.jade
@@ -11,7 +11,7 @@ p.
In this example, we bind the control group to the form element, and we bind the login and password controls to the
login and password elements.
- Here we use [FormDirectives], rather than importing each form directive individually, e.g.
+ Here we use FormDirectives
, rather than importing each form directive individually, e.g.
`ControlDirective`, `ControlGroupDirective`. This is just a shorthand for the same end result.
```
@@ -49,8 +49,7 @@ p.
pre.prettyprint
code.
- (groupDirective:ControlGroupDirective)
-
+ constructor(groupDirective:ControlGroupDirective)
:markdown
@@ -65,8 +64,7 @@ p.
pre.prettyprint
code.
- (c:ControlDirective)
-
+ addDirective(c:ControlDirective)
:markdown
@@ -82,8 +80,7 @@ p.
pre.prettyprint
code.
- (controlGroup)
-
+ controlGroup(controlGroup)
:markdown
@@ -99,8 +96,7 @@ p.
pre.prettyprint
code.
- (name:string)
-
+ findControl(name:string)
:markdown
diff --git a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade b/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade
index 27d77259f4..dab695ede3 100644
--- a/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade
+++ b/public/docs/js/latest/api/forms/DefaultValueAccessor-class.jade
@@ -4,7 +4,7 @@ p.
defined in angular2/src/forms/directives.js (line 31)
:markdown
- The default accessor for writing a value and listening to changes that is used by a [Control] directive.
+ The default accessor for writing a value and listening to changes that is used by a Control
directive.
This is the default strategy that Angular uses when no other accessor is applied.
@@ -21,8 +21,7 @@ p.
pre.prettyprint
code.
- (setValueProperty:Function)
-
+ constructor(setValueProperty:Function)
:markdown
@@ -49,8 +48,7 @@ p.
pre.prettyprint
code.
- (value)
-
+ writeValue(value)
:markdown
diff --git a/public/docs/js/latest/api/forms/FormBuilder-class.jade b/public/docs/js/latest/api/forms/FormBuilder-class.jade
index 9708d8c27c..a89cbee6ac 100644
--- a/public/docs/js/latest/api/forms/FormBuilder-class.jade
+++ b/public/docs/js/latest/api/forms/FormBuilder-class.jade
@@ -8,8 +8,8 @@ p.
# Example
- This example creates a [ControlGroup] that consists of a `login` [Control], and a nested [ControlGroup] that defines
- a `password` and a `passwordConfirmation` [Control].
+ This example creates a ControlGroup
that consists of a `login` Control
, and a nested
+ ControlGroup
that defines a `password` and a `passwordConfirmation` Control
.
```
var loginForm = builder.group({
@@ -30,8 +30,7 @@ p.
pre.prettyprint
code.
- (controlsConfig:List, validator:Function = null)
-
+ array(controlsConfig:List, validator:Function = null)
:markdown
@@ -47,8 +46,7 @@ p.
pre.prettyprint
code.
- (value, validator:Function = null)
-
+ control(value, validator:Function = null)
:markdown
@@ -64,8 +62,7 @@ p.
pre.prettyprint
code.
- (controlsConfig, extra = null)
-
+ group(controlsConfig, extra = null)
:markdown
diff --git a/public/docs/js/latest/api/forms/Validators-class.jade b/public/docs/js/latest/api/forms/Validators-class.jade
index 1e24831dbe..e244c08f33 100644
--- a/public/docs/js/latest/api/forms/Validators-class.jade
+++ b/public/docs/js/latest/api/forms/Validators-class.jade
@@ -20,8 +20,7 @@ p.
pre.prettyprint
code.
- (c:modelModule.ControlArray)
-
+ array(c:modelModule.ControlArray)
:markdown
@@ -37,8 +36,7 @@ p.
pre.prettyprint
code.
- (validators:List<Function>)
-
+ compose(validators:List<Function>)
:markdown
@@ -54,8 +52,7 @@ p.
pre.prettyprint
code.
- (c:modelModule.ControlGroup)
-
+ group(c:modelModule.ControlGroup)
:markdown
@@ -71,8 +68,7 @@ p.
pre.prettyprint
code.
- (c:any)
-
+ nullValidator(c:any)
:markdown
@@ -88,8 +84,7 @@ p.
pre.prettyprint
code.
- (c:modelModule.Control)
-
+ required(c:modelModule.Control)
:markdown
diff --git a/public/docs/js/latest/api/pipes/CollectionChangeRecord-class.jade b/public/docs/js/latest/api/pipes/CollectionChangeRecord-class.jade
index 7ed0c573a3..7077dbaa0c 100644
--- a/public/docs/js/latest/api/pipes/CollectionChangeRecord-class.jade
+++ b/public/docs/js/latest/api/pipes/CollectionChangeRecord-class.jade
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- (item)
-
+ constructor(item)
:markdown
@@ -65,8 +64,7 @@ p.
pre.prettyprint
code.
- ()
-
+ toString()
:markdown
diff --git a/public/docs/js/latest/api/pipes/IterableChanges-class.jade b/public/docs/js/latest/api/pipes/IterableChanges-class.jade
index c73559dfe3..69c865446f 100644
--- a/public/docs/js/latest/api/pipes/IterableChanges-class.jade
+++ b/public/docs/js/latest/api/pipes/IterableChanges-class.jade
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- ()
-
+ constructor()
:markdown
@@ -29,8 +28,7 @@ p.
pre.prettyprint
code.
- (collection)
-
+ check(collection)
:markdown
@@ -58,8 +56,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachAddedItem(fn:Function)
:markdown
@@ -75,8 +72,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachItem(fn:Function)
:markdown
@@ -92,8 +88,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachMovedItem(fn:Function)
:markdown
@@ -109,8 +104,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachPreviousItem(fn:Function)
:markdown
@@ -126,8 +120,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachRemovedItem(fn:Function)
:markdown
@@ -167,8 +160,7 @@ p.
pre.prettyprint
code.
- (obj)
-
+ supports(obj)
:markdown
@@ -184,8 +176,7 @@ p.
pre.prettyprint
code.
- (obj)
-
+ supportsObj(obj)
:markdown
@@ -201,8 +192,7 @@ p.
pre.prettyprint
code.
- ()
-
+ toString()
:markdown
@@ -218,8 +208,7 @@ p.
pre.prettyprint
code.
- (collection)
-
+ transform(collection)
:markdown
diff --git a/public/docs/js/latest/api/pipes/KVChangeRecord-class.jade b/public/docs/js/latest/api/pipes/KVChangeRecord-class.jade
index 544eeba275..63ed002501 100644
--- a/public/docs/js/latest/api/pipes/KVChangeRecord-class.jade
+++ b/public/docs/js/latest/api/pipes/KVChangeRecord-class.jade
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- (key)
-
+ constructor(key)
:markdown
@@ -65,8 +64,7 @@ p.
pre.prettyprint
code.
- ()
-
+ toString()
:markdown
diff --git a/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade b/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade
index a453413d74..62c0b3e5ff 100644
--- a/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade
+++ b/public/docs/js/latest/api/pipes/KeyValueChanges-class.jade
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- ()
-
+ constructor()
:markdown
@@ -29,8 +28,7 @@ p.
pre.prettyprint
code.
- (map)
-
+ check(map)
:markdown
@@ -46,8 +44,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachAddedItem(fn:Function)
:markdown
@@ -63,8 +60,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachChangedItem(fn:Function)
:markdown
@@ -80,8 +76,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachItem(fn:Function)
:markdown
@@ -97,8 +92,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachPreviousItem(fn:Function)
:markdown
@@ -114,8 +108,7 @@ p.
pre.prettyprint
code.
- (fn:Function)
-
+ forEachRemovedItem(fn:Function)
:markdown
@@ -143,8 +136,7 @@ p.
pre.prettyprint
code.
- (obj)
-
+ supports(obj)
:markdown
@@ -160,8 +152,7 @@ p.
pre.prettyprint
code.
- (obj)
-
+ supportsObj(obj)
:markdown
@@ -177,8 +168,7 @@ p.
pre.prettyprint
code.
- ()
-
+ toString()
:markdown
@@ -194,8 +184,7 @@ p.
pre.prettyprint
code.
- (map)
-
+ transform(map)
:markdown
diff --git a/public/docs/js/latest/api/pipes/KeyValueChangesFactory-class.jade b/public/docs/js/latest/api/pipes/KeyValueChangesFactory-class.jade
index ccf947c271..25c0f36226 100644
--- a/public/docs/js/latest/api/pipes/KeyValueChangesFactory-class.jade
+++ b/public/docs/js/latest/api/pipes/KeyValueChangesFactory-class.jade
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- (cdRef)
-
+ create(cdRef)
:markdown
@@ -30,8 +29,7 @@ p.
pre.prettyprint
code.
- (obj)
-
+ supports(obj)
:markdown
diff --git a/public/docs/js/latest/api/pipes/NullPipe-class.jade b/public/docs/js/latest/api/pipes/NullPipe-class.jade
index 84526f3fbd..b9531b9e3d 100644
--- a/public/docs/js/latest/api/pipes/NullPipe-class.jade
+++ b/public/docs/js/latest/api/pipes/NullPipe-class.jade
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- ()
-
+ constructor()
:markdown
@@ -41,8 +40,7 @@ p.
pre.prettyprint
code.
- (obj)
-
+ supports(obj)
:markdown
@@ -58,8 +56,7 @@ p.
pre.prettyprint
code.
- (obj)
-
+ supportsObj(obj)
:markdown
@@ -75,8 +72,7 @@ p.
pre.prettyprint
code.
- (value)
-
+ transform(value)
:markdown
diff --git a/public/docs/js/latest/api/pipes/NullPipeFactory-class.jade b/public/docs/js/latest/api/pipes/NullPipeFactory-class.jade
index 373af4fb20..add5a1090c 100644
--- a/public/docs/js/latest/api/pipes/NullPipeFactory-class.jade
+++ b/public/docs/js/latest/api/pipes/NullPipeFactory-class.jade
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- (cdRef)
-
+ create(cdRef)
:markdown
@@ -30,8 +29,7 @@ p.
pre.prettyprint
code.
- (obj)
-
+ supports(obj)
:markdown
diff --git a/public/docs/js/latest/api/pipes/Pipe-class.jade b/public/docs/js/latest/api/pipes/Pipe-class.jade
index 47320aeaea..bf73f1ad64 100644
--- a/public/docs/js/latest/api/pipes/Pipe-class.jade
+++ b/public/docs/js/latest/api/pipes/Pipe-class.jade
@@ -6,7 +6,7 @@ p.
:markdown
An interface for extending the list of pipes known to Angular.
- If you are writing a custom [Pipe], you must extend this interface.
+ If you are writing a custom Pipe
, you must extend this interface.
#Example
@@ -30,8 +30,7 @@ p.
pre.prettyprint
code.
- ()
-
+ onDestroy()
:markdown
@@ -47,8 +46,7 @@ p.
pre.prettyprint
code.
- (obj)
-
+ supports(obj)
:markdown
@@ -64,8 +62,7 @@ p.
pre.prettyprint
code.
- (value:any)
-
+ transform(value:any)
:markdown
diff --git a/public/docs/js/latest/api/pipes/_data.json b/public/docs/js/latest/api/pipes/_data.json
index 3a69ae8685..c549353500 100644
--- a/public/docs/js/latest/api/pipes/_data.json
+++ b/public/docs/js/latest/api/pipes/_data.json
@@ -1,4 +1,12 @@
{
+ "keyValDiff-var" : {
+ "title" : "keyValDiff Var"
+ },
+
+ "iterableDiff-var" : {
+ "title" : "iterableDiff Var"
+ },
+
"IterableChanges-class" : {
"title" : "IterableChanges Class"
},
diff --git a/public/docs/js/latest/api/pipes/iterableDiff-var.jade b/public/docs/js/latest/api/pipes/iterableDiff-var.jade
new file mode 100644
index 0000000000..a2d6e257cd
--- /dev/null
+++ b/public/docs/js/latest/api/pipes/iterableDiff-var.jade
@@ -0,0 +1,9 @@
+
+.l-main-section
+ h2 iterableDiff variable
+ p(class="module") exported from angular2/pipes
+
+ :markdown
+ Structural diffing for `Iterable` types such as `Array`s.
+
+
diff --git a/public/docs/js/latest/api/pipes/keyValDiff-var.jade b/public/docs/js/latest/api/pipes/keyValDiff-var.jade
new file mode 100644
index 0000000000..6a003ed8f4
--- /dev/null
+++ b/public/docs/js/latest/api/pipes/keyValDiff-var.jade
@@ -0,0 +1,9 @@
+
+.l-main-section
+ h2 keyValDiff variable
+ p(class="module") exported from angular2/pipes
+
+ :markdown
+ Structural diffing for `Object`s and `Map`s.
+
+
diff --git a/public/docs/js/latest/api/src/change_detection/change_detection/_data.json b/public/docs/js/latest/api/src/change_detection/change_detection/_data.json
index 820f9f7624..d23e947a9b 100644
--- a/public/docs/js/latest/api/src/change_detection/change_detection/_data.json
+++ b/public/docs/js/latest/api/src/change_detection/change_detection/_data.json
@@ -1,4 +1,12 @@
{
+ "keyValDiff-var" : {
+ "title" : "keyValDiff Var"
+ },
+
+ "iterableDiff-var" : {
+ "title" : "iterableDiff Var"
+ },
+
"defaultPipes-var" : {
"title" : "defaultPipes Var"
},
diff --git a/public/docs/js/latest/api/src/change_detection/change_detection_jit_generator/_data.json b/public/docs/js/latest/api/src/change_detection/change_detection_jit_generator/_data.json
new file mode 100644
index 0000000000..5339c4a161
--- /dev/null
+++ b/public/docs/js/latest/api/src/change_detection/change_detection_jit_generator/_data.json
@@ -0,0 +1,5 @@
+{
+ "ChangeDetectorJITGenerator-class" : {
+ "title" : "ChangeDetectorJITGenerator Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/core/compiler/base_query_list/_data.json b/public/docs/js/latest/api/src/core/compiler/base_query_list/_data.json
new file mode 100644
index 0000000000..0e357c9903
--- /dev/null
+++ b/public/docs/js/latest/api/src/core/compiler/base_query_list/_data.json
@@ -0,0 +1,5 @@
+{
+ "BaseQueryList-class" : {
+ "title" : "BaseQueryList Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/core/testability/get_testability/_data.json b/public/docs/js/latest/api/src/core/testability/get_testability/_data.json
new file mode 100644
index 0000000000..b04a3a653b
--- /dev/null
+++ b/public/docs/js/latest/api/src/core/testability/get_testability/_data.json
@@ -0,0 +1,5 @@
+{
+ "GetTestability-class" : {
+ "title" : "GetTestability Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/core/zone/vm_turn_zone/_data.json b/public/docs/js/latest/api/src/core/zone/vm_turn_zone/_data.json
new file mode 100644
index 0000000000..c1d21915db
--- /dev/null
+++ b/public/docs/js/latest/api/src/core/zone/vm_turn_zone/_data.json
@@ -0,0 +1,5 @@
+{
+ "VmTurnZone-class" : {
+ "title" : "VmTurnZone Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/di/exceptions/_data.json b/public/docs/js/latest/api/src/di/exceptions/_data.json
index 67fab15cd6..41a206109f 100644
--- a/public/docs/js/latest/api/src/di/exceptions/_data.json
+++ b/public/docs/js/latest/api/src/di/exceptions/_data.json
@@ -1,10 +1,10 @@
{
- "ProviderError-class" : {
- "title" : "ProviderError Class"
+ "AbstractBindingError-class" : {
+ "title" : "AbstractBindingError Class"
},
- "NoProviderError-class" : {
- "title" : "NoProviderError Class"
+ "NoBindingError-class" : {
+ "title" : "NoBindingError Class"
},
"AsyncBindingError-class" : {
diff --git a/public/docs/js/latest/api/src/dom/browser_adapter/_data.json b/public/docs/js/latest/api/src/dom/browser_adapter/_data.json
new file mode 100644
index 0000000000..c7522b62a5
--- /dev/null
+++ b/public/docs/js/latest/api/src/dom/browser_adapter/_data.json
@@ -0,0 +1,5 @@
+{
+ "BrowserDomAdapter-class" : {
+ "title" : "BrowserDomAdapter Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/facade/async/_data.json b/public/docs/js/latest/api/src/facade/async/_data.json
new file mode 100644
index 0000000000..f6f221d905
--- /dev/null
+++ b/public/docs/js/latest/api/src/facade/async/_data.json
@@ -0,0 +1,21 @@
+{
+ "Promise-var" : {
+ "title" : "Promise Var"
+ },
+
+ "PromiseWrapper-class" : {
+ "title" : "PromiseWrapper Class"
+ },
+
+ "ObservableWrapper-class" : {
+ "title" : "ObservableWrapper Class"
+ },
+
+ "Observable-class" : {
+ "title" : "Observable Class"
+ },
+
+ "EventEmitter-class" : {
+ "title" : "EventEmitter Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/facade/browser/_data.json b/public/docs/js/latest/api/src/facade/browser/_data.json
new file mode 100644
index 0000000000..c462ac5482
--- /dev/null
+++ b/public/docs/js/latest/api/src/facade/browser/_data.json
@@ -0,0 +1,13 @@
+{
+ "document-var" : {
+ "title" : "document Var"
+ },
+
+ "location-var" : {
+ "title" : "location Var"
+ },
+
+ "gc-var" : {
+ "title" : "gc Var"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/facade/collection/_data.json b/public/docs/js/latest/api/src/facade/collection/_data.json
new file mode 100644
index 0000000000..f411a58da0
--- /dev/null
+++ b/public/docs/js/latest/api/src/facade/collection/_data.json
@@ -0,0 +1,41 @@
+{
+ "List-var" : {
+ "title" : "List Var"
+ },
+
+ "Map-var" : {
+ "title" : "Map Var"
+ },
+
+ "Set-var" : {
+ "title" : "Set Var"
+ },
+
+ "StringMap-var" : {
+ "title" : "StringMap Var"
+ },
+
+ "MapWrapper-class" : {
+ "title" : "MapWrapper Class"
+ },
+
+ "StringMapWrapper-class" : {
+ "title" : "StringMapWrapper Class"
+ },
+
+ "ListWrapper-class" : {
+ "title" : "ListWrapper Class"
+ },
+
+ "isListLikeIterable-function" : {
+ "title" : "isListLikeIterable Function"
+ },
+
+ "iterateListLike-function" : {
+ "title" : "iterateListLike Function"
+ },
+
+ "SetWrapper-class" : {
+ "title" : "SetWrapper Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/facade/lang/_data.json b/public/docs/js/latest/api/src/facade/lang/_data.json
new file mode 100644
index 0000000000..3b2f58e122
--- /dev/null
+++ b/public/docs/js/latest/api/src/facade/lang/_data.json
@@ -0,0 +1,113 @@
+{
+ "Type-var" : {
+ "title" : "Type Var"
+ },
+
+ "Math-var" : {
+ "title" : "Math Var"
+ },
+
+ "Date-var" : {
+ "title" : "Date Var"
+ },
+
+ "CONST-class" : {
+ "title" : "CONST Class"
+ },
+
+ "ABSTRACT-class" : {
+ "title" : "ABSTRACT Class"
+ },
+
+ "IMPLEMENTS-class" : {
+ "title" : "IMPLEMENTS Class"
+ },
+
+ "isPresent-function" : {
+ "title" : "isPresent Function"
+ },
+
+ "isBlank-function" : {
+ "title" : "isBlank Function"
+ },
+
+ "isString-function" : {
+ "title" : "isString Function"
+ },
+
+ "isFunction-function" : {
+ "title" : "isFunction Function"
+ },
+
+ "stringify-function" : {
+ "title" : "stringify Function"
+ },
+
+ "StringWrapper-class" : {
+ "title" : "StringWrapper Class"
+ },
+
+ "StringJoiner-class" : {
+ "title" : "StringJoiner Class"
+ },
+
+ "NumberParseError-class" : {
+ "title" : "NumberParseError Class"
+ },
+
+ "NumberWrapper-class" : {
+ "title" : "NumberWrapper Class"
+ },
+
+ "RegExp-var" : {
+ "title" : "RegExp Var"
+ },
+
+ "RegExpWrapper-class" : {
+ "title" : "RegExpWrapper Class"
+ },
+
+ "RegExpMatcherWrapper-class" : {
+ "title" : "RegExpMatcherWrapper Class"
+ },
+
+ "FunctionWrapper-class" : {
+ "title" : "FunctionWrapper Class"
+ },
+
+ "BaseException-var" : {
+ "title" : "BaseException Var"
+ },
+
+ "looseIdentical-function" : {
+ "title" : "looseIdentical Function"
+ },
+
+ "getMapKey-function" : {
+ "title" : "getMapKey Function"
+ },
+
+ "normalizeBlank-function" : {
+ "title" : "normalizeBlank Function"
+ },
+
+ "isJsObject-function" : {
+ "title" : "isJsObject Function"
+ },
+
+ "assertionsEnabled-function" : {
+ "title" : "assertionsEnabled Function"
+ },
+
+ "print-function" : {
+ "title" : "print Function"
+ },
+
+ "Json-var" : {
+ "title" : "Json Var"
+ },
+
+ "DateWrapper-class" : {
+ "title" : "DateWrapper Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/facade/math/_data.json b/public/docs/js/latest/api/src/facade/math/_data.json
new file mode 100644
index 0000000000..ff12971e73
--- /dev/null
+++ b/public/docs/js/latest/api/src/facade/math/_data.json
@@ -0,0 +1,9 @@
+{
+ "Math-var" : {
+ "title" : "Math Var"
+ },
+
+ "NaN-var" : {
+ "title" : "NaN Var"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/reflection/reflection/_data.json b/public/docs/js/latest/api/src/reflection/reflection/_data.json
new file mode 100644
index 0000000000..72203589ba
--- /dev/null
+++ b/public/docs/js/latest/api/src/reflection/reflection/_data.json
@@ -0,0 +1,5 @@
+{
+ "reflector-var" : {
+ "title" : "reflector Var"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/reflection/reflection_capabilities/_data.json b/public/docs/js/latest/api/src/reflection/reflection_capabilities/_data.json
new file mode 100644
index 0000000000..963e5cf6cb
--- /dev/null
+++ b/public/docs/js/latest/api/src/reflection/reflection_capabilities/_data.json
@@ -0,0 +1,5 @@
+{
+ "ReflectionCapabilities-class" : {
+ "title" : "ReflectionCapabilities Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/reflection/types/_data.json b/public/docs/js/latest/api/src/reflection/types/_data.json
new file mode 100644
index 0000000000..9e8d9f5d0f
--- /dev/null
+++ b/public/docs/js/latest/api/src/reflection/types/_data.json
@@ -0,0 +1,13 @@
+{
+ "SetterFn-var" : {
+ "title" : "SetterFn Var"
+ },
+
+ "GetterFn-var" : {
+ "title" : "GetterFn Var"
+ },
+
+ "MethodFn-var" : {
+ "title" : "MethodFn Var"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/render/dom/events/hammer_gestures/_data.json b/public/docs/js/latest/api/src/render/dom/events/hammer_gestures/_data.json
new file mode 100644
index 0000000000..03c9ab94d5
--- /dev/null
+++ b/public/docs/js/latest/api/src/render/dom/events/hammer_gestures/_data.json
@@ -0,0 +1,5 @@
+{
+ "HammerGesturesPlugin-class" : {
+ "title" : "HammerGesturesPlugin Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/services/xhr_impl/_data.json b/public/docs/js/latest/api/src/services/xhr_impl/_data.json
new file mode 100644
index 0000000000..45ad8a41cc
--- /dev/null
+++ b/public/docs/js/latest/api/src/services/xhr_impl/_data.json
@@ -0,0 +1,5 @@
+{
+ "XHRImpl-class" : {
+ "title" : "XHRImpl Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/test_lib/e2e_util/_data.json b/public/docs/js/latest/api/src/test_lib/e2e_util/_data.json
new file mode 100644
index 0000000000..9e26dfeeb6
--- /dev/null
+++ b/public/docs/js/latest/api/src/test_lib/e2e_util/_data.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/test_lib/lang_utils/_data.json b/public/docs/js/latest/api/src/test_lib/lang_utils/_data.json
new file mode 100644
index 0000000000..dcdfc1e800
--- /dev/null
+++ b/public/docs/js/latest/api/src/test_lib/lang_utils/_data.json
@@ -0,0 +1,9 @@
+{
+ "getTypeOf-function" : {
+ "title" : "getTypeOf Function"
+ },
+
+ "instantiateType-function" : {
+ "title" : "instantiateType Function"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/test_lib/perf_util/_data.json b/public/docs/js/latest/api/src/test_lib/perf_util/_data.json
new file mode 100644
index 0000000000..9e26dfeeb6
--- /dev/null
+++ b/public/docs/js/latest/api/src/test_lib/perf_util/_data.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/src/test_lib/test_lib/_data.json b/public/docs/js/latest/api/src/test_lib/test_lib/_data.json
new file mode 100644
index 0000000000..d7731a67e8
--- /dev/null
+++ b/public/docs/js/latest/api/src/test_lib/test_lib/_data.json
@@ -0,0 +1,53 @@
+{
+ "afterEach-var" : {
+ "title" : "afterEach Var"
+ },
+
+ "expect-var" : {
+ "title" : "expect Var"
+ },
+
+ "IS_DARTIUM-var" : {
+ "title" : "IS_DARTIUM Var"
+ },
+
+ "AsyncTestCompleter-class" : {
+ "title" : "AsyncTestCompleter Class"
+ },
+
+ "describe-function" : {
+ "title" : "describe Function"
+ },
+
+ "ddescribe-function" : {
+ "title" : "ddescribe Function"
+ },
+
+ "xdescribe-function" : {
+ "title" : "xdescribe Function"
+ },
+
+ "beforeEach-function" : {
+ "title" : "beforeEach Function"
+ },
+
+ "beforeEachBindings-function" : {
+ "title" : "beforeEachBindings Function"
+ },
+
+ "it-function" : {
+ "title" : "it Function"
+ },
+
+ "xit-function" : {
+ "title" : "xit Function"
+ },
+
+ "iit-function" : {
+ "title" : "iit Function"
+ },
+
+ "SpyObject-class" : {
+ "title" : "SpyObject Class"
+ }
+}
\ No newline at end of file
diff --git a/public/docs/js/latest/api/test/TestBed-class.jade b/public/docs/js/latest/api/test/TestBed-class.jade
index 6520e0b001..0f7c737092 100644
--- a/public/docs/js/latest/api/test/TestBed-class.jade
+++ b/public/docs/js/latest/api/test/TestBed-class.jade
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- (injector: Injector)
-
+ constructor(injector: Injector)
:markdown
@@ -29,12 +28,11 @@ p.
pre.prettyprint
code.
- (component: Type, {context = null, html = null}: {context:any, html: string} = {}, [object Object], [object Object], [object Object])
-
+ createView(component: Type, {context = null, html = null}: {context:any, html: string} = {}, [object Object], [object Object], [object Object])
:markdown
- Creates a [AppView] for the given component.
+ Creates an `AppView` for the given component.
Only either a component or a context needs to be specified but both can be provided for
advanced use cases (ie subclassing the context).
@@ -50,12 +48,11 @@ p.
pre.prettyprint
code.
- (component: Type, from: Type, to: Type, [object Object], [object Object], [object Object])
-
+ overrideDirective(component: Type, from: Type, to: Type, [object Object], [object Object], [object Object])
:markdown
- Overrides the directives from the component [View].
+ Overrides the directives from the component View
.
@@ -68,12 +65,11 @@ p.
pre.prettyprint
code.
- (component: Type, template: View, [object Object], [object Object])
-
+ overrideView(component: Type, template: View, [object Object], [object Object])
:markdown
- Overrides the [View] of a [Component].
+ Overrides the View
of a Component
.
@@ -86,13 +82,12 @@ p.
pre.prettyprint
code.
- (component: Type, html: string, [object Object], [object Object])
-
+ setInlineTemplate(component: Type, html: string, [object Object], [object Object])
:markdown
- Overrides only the html of a [Component].
- All the other propoerties of the component's [View] are preserved.
+ Overrides only the html of a Component
.
+ All the other propoerties of the component's View
are preserved.
diff --git a/public/docs/js/latest/api/view/BaseQueryList-class.jade b/public/docs/js/latest/api/view/BaseQueryList-class.jade
new file mode 100644
index 0000000000..1518eaa26c
--- /dev/null
+++ b/public/docs/js/latest/api/view/BaseQueryList-class.jade
@@ -0,0 +1,124 @@
+
+p.
+ exported from angular2/view
+ defined in angular2/src/core/compiler/base_query_list.js (line 12)
+
+:markdown
+ Injectable Objects that contains a live list of child directives in the light Dom of a directive.
+ The directives are kept in depth-first pre-order traversal of the DOM.
+
+ In the future this class will implement an Observable interface.
+ For now it uses a plain list of observable callbacks.
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+
+ :markdown
+
+
+
+
+
+ .l-sub-section
+ h3 [Symbol.iterator]
+
+
+ pre.prettyprint
+ code.
+ [Symbol.iterator]()
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 add
+
+
+ pre.prettyprint
+ code.
+ add(obj)
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 fireCallbacks
+
+
+ pre.prettyprint
+ code.
+ fireCallbacks()
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 onChange
+
+
+ pre.prettyprint
+ code.
+ onChange(callback)
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeCallback
+
+
+ pre.prettyprint
+ code.
+ removeCallback(callback)
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 reset
+
+
+ pre.prettyprint
+ code.
+ reset(newList)
+
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/view/Compiler-class.jade b/public/docs/js/latest/api/view/Compiler-class.jade
new file mode 100644
index 0000000000..ca43a9ea9d
--- /dev/null
+++ b/public/docs/js/latest/api/view/Compiler-class.jade
@@ -0,0 +1,71 @@
+
+p.
+ exported from angular2/view
+ defined in angular2/src/core/compiler/compiler.js (line 46)
+
+:markdown
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(reader: DirectiveMetadataReader, cache:CompilerCache, templateResolver: TemplateResolver, componentUrlMapper: ComponentUrlMapper, urlResolver: UrlResolver, renderer: renderApi.Renderer, protoViewFactory: ProtoViewFactory)
+
+
+ :markdown
+
+
+
+
+
+ .l-sub-section
+ h3 buildRenderDirective
+
+
+ pre.prettyprint
+ code.
+ buildRenderDirective(directiveBinding)
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 compile
+
+
+ pre.prettyprint
+ code.
+ compile(component: Type)
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 compileInHost
+
+
+ pre.prettyprint
+ code.
+ compileInHost(componentTypeOrBinding:any)
+
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/view/ComponentRef-class.jade b/public/docs/js/latest/api/view/ComponentRef-class.jade
index 7de95c3ff5..c500c256eb 100644
--- a/public/docs/js/latest/api/view/ComponentRef-class.jade
+++ b/public/docs/js/latest/api/view/ComponentRef-class.jade
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- (location:ElementRef, instance:any, componentView:AppView)
-
+ constructor(location:ElementRef, instance:any, componentView:AppView)
:markdown
diff --git a/public/docs/js/latest/api/view/DynamicComponentLoader-class.jade b/public/docs/js/latest/api/view/DynamicComponentLoader-class.jade
index b43df326b0..05a60425fd 100644
--- a/public/docs/js/latest/api/view/DynamicComponentLoader-class.jade
+++ b/public/docs/js/latest/api/view/DynamicComponentLoader-class.jade
@@ -15,8 +15,7 @@ p.
pre.prettyprint
code.
- (compiler:Compiler, directiveMetadataReader:DirectiveMetadataReader, viewFactory:ViewFactory, viewHydrator:AppViewHydrator)
-
+ constructor(compiler:Compiler, directiveMetadataReader:DirectiveMetadataReader, viewFactory:ViewFactory, viewHydrator:AppViewHydrator)
:markdown
@@ -31,8 +30,7 @@ p.
pre.prettyprint
code.
- (type:Type, location:ElementRef, injector:Injector = null)
-
+ loadIntoExistingLocation(type:Type, location:ElementRef, injector:Injector = null)
:markdown
@@ -49,8 +47,7 @@ p.
pre.prettyprint
code.
- (elementOrSelector:any, type:Type, location:ElementRef, injector:Injector = null)
-
+ loadIntoNewLocation(elementOrSelector:any, type:Type, location:ElementRef, injector:Injector = null)
:markdown
diff --git a/public/docs/js/latest/api/view/ElementRef-class.jade b/public/docs/js/latest/api/view/ElementRef-class.jade
index eb88e92510..e725e4bbec 100644
--- a/public/docs/js/latest/api/view/ElementRef-class.jade
+++ b/public/docs/js/latest/api/view/ElementRef-class.jade
@@ -1,7 +1,7 @@
p.
exported from angular2/view
- defined in angular2/src/core/compiler/element_injector.js (line 25)
+ defined in angular2/src/core/compiler/element_injector.js (line 27)
:markdown
@@ -13,8 +13,7 @@ p.
pre.prettyprint
code.
- (elementInjector:ElementInjector)
-
+ constructor(elementInjector:ElementInjector)
:markdown
@@ -70,3 +69,15 @@ p.
+
+ .l-sub-section
+ h3 viewContainer
+
+
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/view/QueryList-class.jade b/public/docs/js/latest/api/view/QueryList-class.jade
index a320c86843..13d95256a9 100644
--- a/public/docs/js/latest/api/view/QueryList-class.jade
+++ b/public/docs/js/latest/api/view/QueryList-class.jade
@@ -75,8 +75,7 @@ p.
pre.prettyprint
code.
- (callback)
-
+ onChange(callback)
:markdown
@@ -92,8 +91,7 @@ p.
pre.prettyprint
code.
- (callback)
-
+ removeCallback(callback)
:markdown
diff --git a/public/docs/js/latest/api/view/ViewContainer-class.jade b/public/docs/js/latest/api/view/ViewContainer-class.jade
new file mode 100644
index 0000000000..e9e30cbdf4
--- /dev/null
+++ b/public/docs/js/latest/api/view/ViewContainer-class.jade
@@ -0,0 +1,216 @@
+
+p.
+ exported from angular2/view
+ defined in angular2/src/core/compiler/view_container.js (line 12)
+
+:markdown
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(parentView: viewModule.AppView, defaultProtoView: viewModule.AppProtoView, elementInjector: eiModule.ElementInjector)
+
+
+ :markdown
+
+
+
+
+
+ .l-sub-section
+ h3 clear
+
+
+ pre.prettyprint
+ code.
+ clear()
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 create
+
+
+ pre.prettyprint
+ code.
+ create(atIndex=-1, protoView:viewModule.AppProtoView = null, injector:Injector = null)
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 defaultProtoView
+
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 detach
+
+
+ pre.prettyprint
+ code.
+ detach(atIndex=-1)
+
+
+ :markdown
+ The method can be used together with insert to implement a view move, i.e.
+ moving the dom nodes while the directives in the view stay intact.
+
+
+
+
+
+ .l-sub-section
+ h3 elementInjector
+
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(index: number)
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 getRender
+
+
+ pre.prettyprint
+ code.
+ getRender()
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 hydrated
+
+
+ pre.prettyprint
+ code.
+ hydrated()
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 insert
+
+
+ pre.prettyprint
+ code.
+ insert(view, atIndex=-1)
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 internalClearWithoutRender
+
+
+ pre.prettyprint
+ code.
+ internalClearWithoutRender()
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 length
+
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 parentView
+
+
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 remove
+
+
+ pre.prettyprint
+ code.
+ remove(atIndex=-1)
+
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/view/_data.json b/public/docs/js/latest/api/view/_data.json
index 2fe569ae15..4e47f4dc47 100644
--- a/public/docs/js/latest/api/view/_data.json
+++ b/public/docs/js/latest/api/view/_data.json
@@ -1,4 +1,8 @@
{
+ "Compiler-class" : {
+ "title" : "Compiler Class"
+ },
+
"ComponentRef-class" : {
"title" : "ComponentRef Class"
},
@@ -13,5 +17,13 @@
"QueryList-class" : {
"title" : "QueryList Class"
+ },
+
+ "ViewContainer-class" : {
+ "title" : "ViewContainer Class"
+ },
+
+ "BaseQueryList-class" : {
+ "title" : "BaseQueryList Class"
}
}
\ No newline at end of file