update links for api docs

This commit is contained in:
Alex Wolfe 2015-04-23 08:27:36 -07:00
parent f1a0f34cc4
commit 2e6ab89719
89 changed files with 159 additions and 633 deletions

View File

@ -1,6 +1,6 @@
{ {
"index": { "index" : {
"title": "API Preview" "title" : "API 2.0 Preview"
}, },
"annotations" : { "annotations" : {

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/visibility.js#L105">angular2/src/core/annotations/visibility.js (line 105)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/visibility.js#L105">angular2/src/core/annotations/visibility.js (line 105)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/di.js#L53">angular2/src/core/annotations/di.js (line 53)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/di.js#L53">angular2/src/core/annotations/di.js (line 53)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L755">angular2/src/core/annotations/annotations.js (line 755)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L755">angular2/src/core/annotations/annotations.js (line 755)</a>
:markdown :markdown
@ -10,10 +10,10 @@ p.location-badge.
(see: http://en.wikipedia.org/wiki/Composition_over_inheritance) (see: http://en.wikipedia.org/wiki/Composition_over_inheritance)
Decorators: Decorators:
- are simplest form of <a href="angular2/annotations/Directive-class"><code>Directive</code></a>s. - are simplest form of <a href="Directive-class.html"><code>Directive</code></a>s.
- are best used as a composition pattern () - are best used as a composition pattern ()
Decorators differ from <a href="angular2/annotations/Component-class"><code>Component</code></a>s in that they: Decorators differ from <a href="Component-class.html"><code>Component</code></a>s in that they:
- can have multiple decorators per element - can have multiple decorators per element
- do not create their own evaluation context - do not create their own evaluation context
- do not have a template (and therefor do not create Shadow DOM) - do not have a template (and therefor do not create Shadow DOM)

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L660">angular2/src/core/annotations/annotations.js (line 660)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L660">angular2/src/core/annotations/annotations.js (line 660)</a>
:markdown :markdown
@ -83,7 +83,7 @@ p.location-badge.
:markdown :markdown
Same as `injectables` in the <a href="angular2/annotations/Component-class"><code>Component</code></a>. Same as `injectables` in the <a href="Component-class.html"><code>Component</code></a>.

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/visibility.js#L44">angular2/src/core/annotations/visibility.js (line 44)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/visibility.js#L44">angular2/src/core/annotations/visibility.js (line 44)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/di.js#L12">angular2/src/core/annotations/di.js (line 12)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/di.js#L12">angular2/src/core/annotations/di.js (line 12)</a>
:markdown :markdown

View File

@ -1,12 +1,12 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/di.js#L77">angular2/src/core/annotations/di.js (line 77)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/di.js#L77">angular2/src/core/annotations/di.js (line 77)</a>
:markdown :markdown
Specifies that a <a href="angular2/view/QueryList-class"><code>QueryList</code></a> should be injected. Specifies that a <a href="../view/QueryList-class.html"><code>QueryList</code></a> should be injected.
See <a href="angular2/view/QueryList-class"><code>QueryList</code></a> for usage and example. See <a href="../view/QueryList-class.html"><code>QueryList</code></a> for usage and example.
.l-main-section .l-main-section
h2 Members h2 Members

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/view.js#L34">angular2/src/core/annotations/view.js (line 34)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/view.js#L34">angular2/src/core/annotations/view.js (line 34)</a>
:markdown :markdown
@ -12,7 +12,7 @@ p.location-badge.
When a component is instantiated, the template is loaded into the component's shadow root, and the 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. expressions and statements in the template are evaluated against the component.
For details on the `@Component` annotation, see <a href="angular2/annotations/Component-class"><code>Component</code></a>. For details on the `@Component` annotation, see <a href="Component-class.html"><code>Component</code></a>.
## Example ## Example

View File

@ -1,16 +1,16 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L884">angular2/src/core/annotations/annotations.js (line 884)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L884">angular2/src/core/annotations/annotations.js (line 884)</a>
:markdown :markdown
Directive that controls the instantiation, destruction, and positioning of inline template elements. Directive that controls the instantiation, destruction, and positioning of inline template elements.
A viewport directive uses a <a href="angular2/view/ViewContainer-class"><code>ViewContainer</code></a> to instantiate, insert, move, and destroy views at runtime. A viewport directive uses a <a href="../view/ViewContainer-class.html"><code>ViewContainer</code></a> to instantiate, insert, move, and destroy views at runtime.
The <a href="angular2/view/ViewContainer-class"><code>ViewContainer</code></a> is created as a result of `<template>` element, and represents a location in the current view The <a href="../view/ViewContainer-class.html"><code>ViewContainer</code></a> is created as a result of `<template>` element, and represents a location in the current view
where these actions are performed. where these actions are performed.
Views are always created as children of the current <a href="angular2/annotations/View-class"><code>View</code></a>, and as siblings of the `<template>` element. Thus a Views are always created as children of the current <a href="View-class.html"><code>View</code></a>, and as siblings of the `<template>` element. Thus a
directive in a child view cannot inject the viewport directive that created it. directive in a child view cannot inject the viewport directive that created it.
Since viewport directives are common in Angular, and using the full `<template>` element syntax is wordy, Angular Since viewport directives are common in Angular, and using the full `<template>` element syntax is wordy, Angular

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L521">angular2/src/core/annotations/annotations.js (line 521)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L521">angular2/src/core/annotations/annotations.js (line 521)</a>
:markdown :markdown
@ -12,11 +12,11 @@ p.location-badge.
When a component is instantiated, Angular When a component is instantiated, Angular
- creates a shadow DOM for the component. - creates a shadow DOM for the component.
- loads the selected template into the shadow DOM. - loads the selected template into the shadow DOM.
- creates a child <a href="angular2/di/Injector-class"><code>Injector</code></a> which is configured with the `injectables` for the <a href="angular2/annotations/Component-class"><code>Component</code></a>. - creates a child <a href="../di/Injector-class.html"><code>Injector</code></a> which is configured with the `injectables` for the <a href="Component-class.html"><code>Component</code></a>.
All template expressions and statements are then evaluated against the component instance. All template expressions and statements are then evaluated against the component instance.
For details on the `@View` annotation, see <a href="angular2/annotations/View-class"><code>View</code></a>. For details on the `@View` annotation, see <a href="View-class.html"><code>View</code></a>.
## Example ## Example
@ -101,8 +101,8 @@ p.location-badge.
are children in the component's light DOM. are children in the component's light DOM.
The syntax for configuring the `injectables` injectable is identical to <a href="angular2/di/Injector-class"><code>Injector</code></a> injectable configuration. The syntax for configuring the `injectables` injectable is identical to <a href="../di/Injector-class.html"><code>Injector</code></a> injectable configuration.
See <a href="angular2/di/Injector-class"><code>Injector</code></a> for additional detail. See <a href="../di/Injector-class.html"><code>Injector</code></a> for additional detail.
## Simple Example ## Simple Example

View File

@ -1,13 +1,13 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L240">angular2/src/core/annotations/annotations.js (line 240)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/annotations/annotations.js#L240">angular2/src/core/annotations/annotations.js (line 240)</a>
:markdown :markdown
Directives allow you to attach behavior to elements in the DOM. Directives allow you to attach behavior to elements in the DOM.
Directive is an abstract concept, instead use concrete directives: <a href="angular2/annotations/Component-class"><code>Component</code></a>, <a href="angular2/annotations/DynamicComponent-class"><code>DynamicComponent</code></a>, <a href="angular2/annotations/Decorator-class"><code>Decorator</code></a> Directive is an abstract concept, instead use concrete directives: <a href="Component-class.html"><code>Component</code></a>, <a href="DynamicComponent-class.html"><code>DynamicComponent</code></a>, <a href="Decorator-class.html"><code>Decorator</code></a>
or <a href="angular2/annotations/Viewport-class"><code>Viewport</code></a>. or <a href="Viewport-class.html"><code>Viewport</code></a>.
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: elements in the DOM, the following steps occur:
@ -20,10 +20,10 @@ p.location-badge.
There are three stages of injection resolution. There are three stages of injection resolution.
- *Pre-existing Injectors*: - *Pre-existing Injectors*:
- The terminal <a href="angular2/di/Injector-class"><code>Injector</code></a> cannot resolve dependencies. It either throws an error or, if the dependency was - The terminal <a href="../di/Injector-class.html"><code>Injector</code></a> cannot resolve dependencies. It either throws an error or, if the dependency was
specified as `@Optional`, returns `null`. specified as `@Optional`, returns `null`.
- The platform injector resolves browser singleton resources, such as: cookies, title, location, and others. - The platform injector resolves browser singleton resources, such as: cookies, title, location, and others.
- *Component Injectors*: Each `@Component` has its own <a href="angular2/di/Injector-class"><code>Injector</code></a>, and they follow the same parent-child hierarchy - *Component Injectors*: Each `@Component` has its own <a href="../di/Injector-class.html"><code>Injector</code></a>, and they follow the same parent-child hierarchy
as the components in the DOM. 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. which follow the same parent-child hierarchy as the DOM elements themselves.
@ -31,7 +31,7 @@ p.location-badge.
When a template is instantiated, it also must instantiate the corresponding directives in a depth-first order. The 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 <a href="angular2/annotations/View-class"><code>View</code></a>: Angular then resolves dependencies as follows, according to the order in which they appear in the <a href="View-class.html"><code>View</code></a>:
1. Dependencies on the current element 1. Dependencies on the current element
2. Dependencies on element injectors and their parents until it encounters a Shadow DOM boundary 2. Dependencies on element injectors and their parents until it encounters a Shadow DOM boundary
@ -53,7 +53,7 @@ p.location-badge.
To inject element-specific special objects, declare the constructor parameter as: To inject element-specific special objects, declare the constructor parameter as:
- `element: NgElement` to obtain a DOM element (DEPRECATED: replacement coming) - `element: NgElement` to obtain a DOM element (DEPRECATED: replacement coming)
- `viewContainer: ViewContainer` to control child template instantiation, for <a href="angular2/annotations/Viewport-class"><code>Viewport</code></a> directives only - `viewContainer: ViewContainer` to control child template instantiation, for <a href="Viewport-class.html"><code>Viewport</code></a> directives only
- `bindingPropagation: BindingPropagation` to control change detection in a more granular way. - `bindingPropagation: BindingPropagation` to control change detection in a more granular way.
## Example ## Example
@ -186,8 +186,8 @@ p.location-badge.
A directive can also query for other child directives. Since parent directives are instantiated before child 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 directives, a directive can't simply inject the list of child directives. Instead, the directive
injects a <a href="angular2/view/QueryList-class"><code>QueryList</code></a>, which updates its contents as children are added, removed, or moved by any injects a <a href="../view/QueryList-class.html"><code>QueryList</code></a>, which updates its contents as children are added, removed, or moved by any
<a href="angular2/annotations/Viewport-class"><code>Viewport</code></a> directive such as a `for`, an `if`, or a `switch`. <a href="Viewport-class.html"><code>Viewport</code></a> directive such as a `for`, an `if`, or a `switch`.
``` ```
@Decorator({ selector: '[my-directive]' }) @Decorator({ selector: '[my-directive]' })
@ -197,7 +197,7 @@ p.location-badge.
} }
``` ```
This directive would be instantiated with a <a href="angular2/view/QueryList-class"><code>QueryList</code></a> which contains `Dependency` 4 and 6. Here, `Dependency` This directive would be instantiated with a <a href="../view/QueryList-class.html"><code>QueryList</code></a> which contains `Dependency` 4 and 6. Here, `Dependency`
5 would not be included, because it is not a direct child. 5 would not be included, because it is not a direct child.
### Injecting a live collection of descendant directives ### Injecting a live collection of descendant directives
@ -302,7 +302,7 @@ p.location-badge.
:markdown :markdown
Returns true if a directive participates in a given `LifecycleEvent`. Returns true if a directive participates in a given `LifecycleEvent`.
See <a href="angular2/annotations/onChange-var"><code>onChange</code></a>, <a href="angular2/annotations/onDestroy-var"><code>onDestroy</code></a>, <a href="angular2/annotations/onAllChangesDone-var"><code>onAllChangesDone</code></a> for details. See <a href="onChange-var.html"><code>onChange</code></a>, <a href="onDestroy-var.html"><code>onDestroy</code></a>, <a href="onAllChangesDone-var.html"><code>onAllChangesDone</code></a> for details.
@ -376,7 +376,7 @@ p.location-badge.
:markdown :markdown
Specifies a set of lifecycle hostListeners in which the directive participates. Specifies a set of lifecycle hostListeners in which the directive participates.
See <a href="angular2/annotations/onChange-var"><code>onChange</code></a>, <a href="angular2/annotations/onDestroy-var"><code>onDestroy</code></a>, <a href="angular2/annotations/onAllChangesDone-var"><code>onAllChangesDone</code></a> for details. See <a href="onChange-var.html"><code>onChange</code></a>, <a href="onDestroy-var.html"><code>onDestroy</code></a>, <a href="onAllChangesDone-var.html"><code>onAllChangesDone</code></a> for details.
@ -395,7 +395,7 @@ p.location-badge.
- `directiveProperty` specifies the component property where the value is written. - `directiveProperty` specifies the component property where the value is written.
- `bindingProperty` specifies the DOM property where the value is read from. - `bindingProperty` specifies the DOM property where the value is read from.
You can include a <a href="angular2/pipes/Pipe-class"><code>Pipe</code></a> when specifying a `bindingProperty` to allow for data transformation and structural You can include a <a href="../pipes/Pipe-class.html"><code>Pipe</code></a> 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. change detection of the value. These pipes will be evaluated in the context of this component.
@ -451,7 +451,7 @@ p.location-badge.
For example, we could write a binding that updates the directive on structural changes, rather than on reference 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. changes, as normally occurs in change detection.
See <a href="angular2/pipes/Pipe-class"><code>Pipe</code></a> and <a href="angular2/pipes/keyValDiff-var"><code>keyValDiff</code></a> documentation for more details. See <a href="../pipes/Pipe-class.html"><code>Pipe</code></a> and <a href="../pipes/keyValDiff-var.html"><code>keyValDiff</code></a> documentation for more details.
``` ```
@Decorator({ @Decorator({

View File

@ -2,7 +2,7 @@
.l-main-section .l-main-section
h2 onAllChangesDone <span class="type">variable</span> h2 onAllChangesDone <span class="type">variable</span>
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
:markdown :markdown
Notify a directive when the bindings of all its children have been changed. Notify a directive when the bindings of all its children have been changed.

View File

@ -2,7 +2,7 @@
.l-main-section .l-main-section
h2 onChange <span class="type">variable</span> h2 onChange <span class="type">variable</span>
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
:markdown :markdown
Notify a directive when any of its bindings have changed. Notify a directive when any of its bindings have changed.

View File

@ -2,10 +2,10 @@
.l-main-section .l-main-section
h2 onDestroy <span class="type">variable</span> h2 onDestroy <span class="type">variable</span>
p.location-badge. p.location-badge.
exported from <a href="/angular2/annotations">angular2/annotations</a> exported from <a href="/angular2/annotations.html">angular2/annotations</a>
:markdown :markdown
Notify a directive whenever a <a href="angular2/annotations/View-class"><code>View</code></a> that contains it is destroyed. Notify a directive whenever a <a href="View-class.html"><code>View</code></a> that contains it is destroyed.
## Example ## Example

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/change_detection">angular2/change_detection</a> exported from <a href="/angular2/change_detection.html">angular2/change_detection</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/interfaces.js#L34">angular2/src/change_detection/interfaces.js (line 34)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/interfaces.js#L34">angular2/src/change_detection/interfaces.js (line 34)</a>
:markdown :markdown
@ -8,8 +8,8 @@ p.location-badge.
Angular implements the following change detection strategies by default: Angular implements the following change detection strategies by default:
- <a href="angular2/change_detection/DynamicChangeDetection-class"><code>DynamicChangeDetection</code></a>: slower, but does not require `eval()`. - <a href="DynamicChangeDetection-class.html"><code>DynamicChangeDetection</code></a>: slower, but does not require `eval()`.
- <a href="angular2/change_detection/JitChangeDetection-class"><code>JitChangeDetection</code></a>: faster, but requires `eval()`. - <a href="JitChangeDetection-class.html"><code>JitChangeDetection</code></a>: 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. [CSP](https://developer.mozilla.org/en-US/docs/Web/Security/CSP), such as a Chrome Extension.
@ -18,7 +18,7 @@ p.location-badge.
`JitChangeDetection` strategy at compile time. `JitChangeDetection` strategy at compile time.
See: <a href="angular2/change_detection/DynamicChangeDetection-class"><code>DynamicChangeDetection</code></a>, <a href="angular2/change_detection/JitChangeDetection-class"><code>JitChangeDetection</code></a> See: <a href="DynamicChangeDetection-class.html"><code>DynamicChangeDetection</code></a>, <a href="JitChangeDetection-class.html"><code>JitChangeDetection</code></a>
# Example # Example
```javascript ```javascript

View File

@ -1,12 +1,12 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/change_detection">angular2/change_detection</a> exported from <a href="/angular2/change_detection.html">angular2/change_detection</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detector_ref.js#L11">angular2/src/change_detection/change_detector_ref.js (line 11)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detector_ref.js#L11">angular2/src/change_detection/change_detector_ref.js (line 11)</a>
:markdown :markdown
Controls change detection. Controls change detection.
<a href="angular2/change_detection/ChangeDetectorRef-class"><code>ChangeDetectorRef</code></a> allows requesting checks for detectors that rely on observables. It also allows detaching and <a href="ChangeDetectorRef-class.html"><code>ChangeDetectorRef</code></a> allows requesting checks for detectors that rely on observables. It also allows detaching and
attaching change detector subtrees. attaching change detector subtrees.
.l-main-section .l-main-section

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/change_detection">angular2/change_detection</a> exported from <a href="/angular2/change_detection.html">angular2/change_detection</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detection.js#L51">angular2/src/change_detection/change_detection.js (line 51)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detection.js#L51">angular2/src/change_detection/change_detection.js (line 51)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/change_detection">angular2/change_detection</a> exported from <a href="/angular2/change_detection.html">angular2/change_detection</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detection.js#L68">angular2/src/change_detection/change_detection.js (line 68)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/change_detection.js#L68">angular2/src/change_detection/change_detection.js (line 68)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/change_detection">angular2/change_detection</a> exported from <a href="/angular2/change_detection.html">angular2/change_detection</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/life_cycle/life_cycle.js#L31">angular2/src/core/life_cycle/life_cycle.js (line 31)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/life_cycle/life_cycle.js#L31">angular2/src/core/life_cycle/life_cycle.js (line 31)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/core">angular2/core</a> exported from <a href="/angular2/core.html">angular2/core</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/exception_handler.js#L34">angular2/src/core/exception_handler.js (line 34)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/exception_handler.js#L34">angular2/src/core/exception_handler.js (line 34)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/core">angular2/core</a> exported from <a href="/angular2/core.html">angular2/core</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/ng_element.js#L13">angular2/src/core/compiler/ng_element.js (line 13)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/ng_element.js#L13">angular2/src/core/compiler/ng_element.js (line 13)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/core">angular2/core</a> exported from <a href="/angular2/core.html">angular2/core</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/zone/vm_turn_zone.js#L14">angular2/src/core/zone/vm_turn_zone.js (line 14)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/zone/vm_turn_zone.js#L14">angular2/src/core/zone/vm_turn_zone.js (line 14)</a>
:markdown :markdown

View File

@ -5,7 +5,7 @@
p <code>(appComponentType: Type, componentInjectableBindings: List&lt;Binding&gt; = null, errorReporter: Function = null)</code> p <code>(appComponentType: Type, componentInjectableBindings: List&lt;Binding&gt; = null, errorReporter: Function = null)</code>
p.location-badge. p.location-badge.
exported from <a href="/angular2/core">angular2/core</a> exported from <a href="/angular2/core.html">angular2/core</a>
:markdown :markdown
Bootstrapping for Angular applications. Bootstrapping for Angular applications.
@ -104,10 +104,10 @@
- `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(...)`. which is annotated with `@Component(...)`.
- `componentInjectableBindings`: An additional set of bindings that can be added to `injectables` for the - `componentInjectableBindings`: An additional set of bindings that can be added to `injectables` for the
<a href="angular2/annotations/Component-class"><code>Component</code></a> to override default injection behavior. <a href="../annotations/Component-class.html"><code>Component</code></a> to override default injection behavior.
- `errorReporter`: `function(exception:any, stackTrace:string)` a default error reporter for unhandled exceptions. - `errorReporter`: `function(exception:any, stackTrace:string)` a default error reporter for unhandled exceptions.
Returns a `Promise` with the application`s private <a href="angular2/di/Injector-class"><code>Injector</code></a>. Returns a `Promise` with the application`s private <a href="../di/Injector-class.html"><code>Injector</code></a>.

View File

@ -1,12 +1,12 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di">angular2/di</a> exported from <a href="/angular2/di.html">angular2/di</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/binding.js#L49">angular2/src/di/binding.js (line 49)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/binding.js#L49">angular2/src/di/binding.js (line 49)</a>
:markdown :markdown
Describes how the <a href="angular2/di/Injector-class"><code>Injector</code></a> should instantiate a given token. Describes how the <a href="Injector-class.html"><code>Injector</code></a> should instantiate a given token.
See <a href="angular2/di/bind-function"><code>bind</code></a>. See <a href="bind-function.html"><code>bind</code></a>.
## Example ## Example
@ -75,9 +75,9 @@ p.location-badge.
resolve() resolve()
:markdown :markdown
Converts the <a href="angular2/di/Binding-class"><code>Binding</code></a> into <a href="angular2/di/ResolvedBinding-class"><code>ResolvedBinding</code></a>. Converts the <a href="Binding-class.html"><code>Binding</code></a> into <a href="ResolvedBinding-class.html"><code>ResolvedBinding</code></a>.
<a href="angular2/di/Injector-class"><code>Injector</code></a> internally only uses <a href="angular2/di/ResolvedBinding-class"><code>ResolvedBinding</code></a>, <a href="angular2/di/Binding-class"><code>Binding</code></a> contains convenience binding syntax. <a href="Injector-class.html"><code>Injector</code></a> internally only uses <a href="ResolvedBinding-class.html"><code>ResolvedBinding</code></a>, <a href="Binding-class.html"><code>Binding</code></a> contains convenience binding syntax.
@ -90,7 +90,7 @@ p.location-badge.
:markdown :markdown
Binds a key to the alias for an existing key. Binds a key to the alias for an existing key.
An alias means that <a href="angular2/di/Injector-class"><code>Injector</code></a> returns the same instance as if the alias token was used. This is in contrast to An alias means that <a href="Injector-class.html"><code>Injector</code></a> 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. `toClass` where a separate instance of `toClass` is returned.
@ -146,9 +146,9 @@ p.location-badge.
``` ```
The interesting thing to note is that event though `Number` has an async factory, the `String` factory 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 <a href="angular2/di/Injector-class"><code>Injector</code></a> delays executing the `String` factory function takes the resolved value. This shows that the <a href="Injector-class.html"><code>Injector</code></a> delays executing the `String` factory
until after the `Number` is resolved. This can only be done if the `token` is retrieved using the until after the `Number` is resolved. This can only be done if the `token` is retrieved using the
`asyncGet` API in the <a href="angular2/di/Injector-class"><code>Injector</code></a>. `asyncGet` API in the <a href="Injector-class.html"><code>Injector</code></a>.

View File

@ -1,10 +1,10 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di">angular2/di</a> exported from <a href="/angular2/di.html">angular2/di</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/binding.js#L315">angular2/src/di/binding.js (line 315)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/binding.js#L315">angular2/src/di/binding.js (line 315)</a>
:markdown :markdown
Helper class for the <a href="angular2/di/bind-function"><code>bind</code></a> function. Helper class for the <a href="bind-function.html"><code>bind</code></a> function.
.l-main-section .l-main-section
h2 Members h2 Members
@ -92,9 +92,9 @@ p.location-badge.
``` ```
The interesting thing to note is that event though `Number` has an async factory, the `String` factory 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 <a href="angular2/di/Injector-class"><code>Injector</code></a> delays executing of the `String` factory function takes the resolved value. This shows that the <a href="Injector-class.html"><code>Injector</code></a> delays executing of the `String` factory
until after the `Number` is resolved. This can only be done if the `token` is retrieved using the until after the `Number` is resolved. This can only be done if the `token` is retrieved using the
the `asyncGet` API in the <a href="angular2/di/Injector-class"><code>Injector</code></a>. the `asyncGet` API in the <a href="Injector-class.html"><code>Injector</code></a>.

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di">angular2/di</a> exported from <a href="/angular2/di.html">angular2/di</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/injector.js#L60">angular2/src/di/injector.js (line 60)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/injector.js#L60">angular2/src/di/injector.js (line 60)</a>
:markdown :markdown
@ -80,7 +80,7 @@ p.location-badge.
createChildFromResolved(bindings:List&lt;ResolvedBinding&gt;, [object Object]) createChildFromResolved(bindings:List&lt;ResolvedBinding&gt;, [object Object])
:markdown :markdown
Creates a child injector and loads a new set of <a href="angular2/di/ResolvedBinding-class"><code>ResolvedBinding</code></a>s into it. Creates a child injector and loads a new set of <a href="ResolvedBinding-class.html"><code>ResolvedBinding</code></a>s into it.
@ -148,7 +148,7 @@ p.location-badge.
Turns a list of binding definitions into an 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 A resolution is a process of flattening multiple nested lists and converting individual bindings into a
list of <a href="angular2/di/ResolvedBinding-class"><code>ResolvedBinding</code></a>s. The resolution can be cached by `resolve` for the <a href="angular2/di/Injector-class"><code>Injector</code></a> for list of <a href="ResolvedBinding-class.html"><code>ResolvedBinding</code></a>s. The resolution can be cached by `resolve` for the <a href="Injector-class.html"><code>Injector</code></a> for
performance-sensitive code. performance-sensitive code.
@ -167,7 +167,7 @@ p.location-badge.
:markdown :markdown
Resolves bindings and creates an injector based on those bindings. This function is slower than the 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 `resolve` for the corresponding `fromResolvedBindings` because it needs to resolve bindings first. See `resolve` for the
<a href="angular2/di/Injector-class"><code>Injector</code></a>. <a href="Injector-class.html"><code>Injector</code></a>.
Prefer `fromResolvedBindings` in performance-critical code that creates lots of injectors. Prefer `fromResolvedBindings` in performance-critical code that creates lots of injectors.
@ -188,7 +188,7 @@ p.location-badge.
Creates a child injector and loads 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 lists and converting individual bindings into a A resolution is a process of flattening multiple nested lists and converting individual bindings into a
list of <a href="angular2/di/ResolvedBinding-class"><code>ResolvedBinding</code></a>s. The resolution can be cached by `resolve` for the <a href="angular2/di/Injector-class"><code>Injector</code></a> for list of <a href="ResolvedBinding-class.html"><code>ResolvedBinding</code></a>s. The resolution can be cached by `resolve` for the <a href="Injector-class.html"><code>Injector</code></a> for
performance-sensitive code. performance-sensitive code.

View File

@ -1,16 +1,16 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di">angular2/di</a> exported from <a href="/angular2/di.html">angular2/di</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/key.js#L17">angular2/src/di/key.js (line 17)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/key.js#L17">angular2/src/di/key.js (line 17)</a>
:markdown :markdown
A unique object used for retrieving items from the <a href="angular2/di/Injector-class"><code>Injector</code></a>. A unique object used for retrieving items from the <a href="Injector-class.html"><code>Injector</code></a>.
Keys have: Keys have:
- a system-wide unique `id`. - a system-wide unique `id`.
- a `token`, usually the `Type` of the instance. - a `token`, usually the `Type` of the instance.
Keys are used internally by the <a href="angular2/di/Injector-class"><code>Injector</code></a> because their system-wide unique `id`s allow the Keys are used internally by the <a href="Injector-class.html"><code>Injector</code></a> because their system-wide unique `id`s allow the
injector to index in arrays rather than looking up items in maps. injector to index in arrays rather than looking up items in maps.
.l-main-section .l-main-section

View File

@ -1,13 +1,13 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di">angular2/di</a> exported from <a href="/angular2/di.html">angular2/di</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/binding.js#L263">angular2/src/di/binding.js (line 263)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/binding.js#L263">angular2/src/di/binding.js (line 263)</a>
:markdown :markdown
An internal resolved representation of a <a href="angular2/di/Binding-class"><code>Binding</code></a> used by the <a href="angular2/di/Injector-class"><code>Injector</code></a>. An internal resolved representation of a <a href="Binding-class.html"><code>Binding</code></a> used by the <a href="Injector-class.html"><code>Injector</code></a>.
A <a href="angular2/di/Binding-class"><code>Binding</code></a> is resolved when it has a factory function. Binding to a class, alias, or value, are just convenience A <a href="Binding-class.html"><code>Binding</code></a> is resolved when it has a factory function. Binding to a class, alias, or value, are just convenience
methods, as <a href="angular2/di/Injector-class"><code>Injector</code></a> only operates on calling factory functions. methods, as <a href="Injector-class.html"><code>Injector</code></a> only operates on calling factory functions.
.l-main-section .l-main-section
h2 Members h2 Members

View File

@ -5,12 +5,12 @@
p <code>(token)</code> p <code>(token)</code>
p.location-badge. p.location-badge.
exported from <a href="/angular2/di">angular2/di</a> exported from <a href="/angular2/di.html">angular2/di</a>
:markdown :markdown
Provides an API for imperatively constructing <a href="angular2/di/Binding-class"><code>Binding</code></a>s. Provides an API for imperatively constructing <a href="Binding-class.html"><code>Binding</code></a>s.
This is only relevant for JavaScript. See <a href="angular2/di/BindingBuilder-class"><code>BindingBuilder</code></a>. This is only relevant for JavaScript. See <a href="BindingBuilder-class.html"><code>BindingBuilder</code></a>.
## Example ## Example

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_annotations">angular2/di_annotations</a> exported from <a href="/angular2/di_annotations.html">angular2/di_annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L110">angular2/src/di/annotations.js (line 110)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L110">angular2/src/di/annotations.js (line 110)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_annotations">angular2/di_annotations</a> exported from <a href="/angular2/di_annotations.html">angular2/di_annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L13">angular2/src/di/annotations.js (line 13)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L13">angular2/src/di/annotations.js (line 13)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_annotations">angular2/di_annotations</a> exported from <a href="/angular2/di_annotations.html">angular2/di_annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L55">angular2/src/di/annotations.js (line 55)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L55">angular2/src/di/annotations.js (line 55)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_annotations">angular2/di_annotations</a> exported from <a href="/angular2/di_annotations.html">angular2/di_annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L34">angular2/src/di/annotations.js (line 34)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L34">angular2/src/di/annotations.js (line 34)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_annotations">angular2/di_annotations</a> exported from <a href="/angular2/di_annotations.html">angular2/di_annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L134">angular2/src/di/annotations.js (line 134)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L134">angular2/src/di/annotations.js (line 134)</a>
:markdown :markdown

View File

@ -1,10 +1,10 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_annotations">angular2/di_annotations</a> exported from <a href="/angular2/di_annotations.html">angular2/di_annotations</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L77">angular2/src/di/annotations.js (line 77)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/annotations.js#L77">angular2/src/di/annotations.js (line 77)</a>
:markdown :markdown
A parameter annotation that marks a dependency as optional. <a href="angular2/di/Injector-class"><code>Injector</code></a> provides `null` if the dependency is not A parameter annotation that marks a dependency as optional. <a href="../di/Injector-class.html"><code>Injector</code></a> provides `null` if the dependency is not
found. found.
``` ```

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_errors">angular2/di_errors</a> exported from <a href="/angular2/di_errors.html">angular2/di_errors</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L32">angular2/src/di/exceptions.js (line 32)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L32">angular2/src/di/exceptions.js (line 32)</a>
:markdown :markdown

View File

@ -1,10 +1,10 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_errors">angular2/di_errors</a> exported from <a href="/angular2/di_errors.html">angular2/di_errors</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L95">angular2/src/di/exceptions.js (line 95)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L95">angular2/src/di/exceptions.js (line 95)</a>
:markdown :markdown
Thrown when trying to retrieve an async <a href="angular2/di/Binding-class"><code>Binding</code></a> using the sync API. Thrown when trying to retrieve an async <a href="../di/Binding-class.html"><code>Binding</code></a> using the sync API.
## Example ## Example

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_errors">angular2/di_errors</a> exported from <a href="/angular2/di_errors.html">angular2/di_errors</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L124">angular2/src/di/exceptions.js (line 124)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L124">angular2/src/di/exceptions.js (line 124)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_errors">angular2/di_errors</a> exported from <a href="/angular2/di_errors.html">angular2/di_errors</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L141">angular2/src/di/exceptions.js (line 141)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L141">angular2/src/di/exceptions.js (line 141)</a>
:markdown :markdown

View File

@ -1,10 +1,10 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_errors">angular2/di_errors</a> exported from <a href="/angular2/di_errors.html">angular2/di_errors</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L161">angular2/src/di/exceptions.js (line 161)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L161">angular2/src/di/exceptions.js (line 161)</a>
:markdown :markdown
Thrown when an object other then <a href="angular2/di/Binding-class"><code>Binding</code></a> (or `Type`) is passed to <a href="angular2/di/Injector-class"><code>Injector</code></a> creation. Thrown when an object other then <a href="../di/Binding-class.html"><code>Binding</code></a> (or `Type`) is passed to <a href="../di/Injector-class.html"><code>Injector</code></a> creation.
.l-main-section .l-main-section
h2 Members h2 Members

View File

@ -1,12 +1,12 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_errors">angular2/di_errors</a> exported from <a href="/angular2/di_errors.html">angular2/di_errors</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L181">angular2/src/di/exceptions.js (line 181)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L181">angular2/src/di/exceptions.js (line 181)</a>
:markdown :markdown
Thrown when the class has no annotation information. Thrown when the class has no annotation information.
Lack of annotation information prevents the <a href="angular2/di/Injector-class"><code>Injector</code></a> from determining which dependencies need to be injected into Lack of annotation information prevents the <a href="../di/Injector-class.html"><code>Injector</code></a> from determining which dependencies need to be injected into
the constructor. the constructor.
.l-main-section .l-main-section

View File

@ -1,11 +1,11 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/di_errors">angular2/di_errors</a> exported from <a href="/angular2/di_errors.html">angular2/di_errors</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L61">angular2/src/di/exceptions.js (line 61)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L61">angular2/src/di/exceptions.js (line 61)</a>
:markdown :markdown
Thrown when trying to retrieve a dependency by `Key` from <a href="angular2/di/Injector-class"><code>Injector</code></a>, but the <a href="angular2/di/Injector-class"><code>Injector</code></a> does not have a Thrown when trying to retrieve a dependency by `Key` from <a href="../di/Injector-class.html"><code>Injector</code></a>, but the <a href="../di/Injector-class.html"><code>Injector</code></a> does not have a
<a href="angular2/di/Binding-class"><code>Binding</code></a> for <a href="angular2/di/Key-class"><code>Key</code></a>. <a href="../di/Binding-class.html"><code>Binding</code></a> for <a href="../di/Key-class.html"><code>Key</code></a>.
.l-main-section .l-main-section
h2 Members h2 Members

View File

@ -1,26 +0,0 @@
p.
<span class="location-badge">exported from <a href="/angular2/di_errors">angular2/di_errors</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L61">angular2/src/di/exceptions.js (line 61)</a>
:markdown
Thrown when trying to retrieve a dependency by [Key] from [Injector], but [Injector] does not have a [Binding] for
said [Key].
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
(key)
:markdown

View File

@ -1,95 +0,0 @@
p.
<span class="location-badge">exported from <a href="/angular2/di_errors">angular2/di_errors</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.js#L32">angular2/src/di/exceptions.js (line 32)</a>
:markdown
Base class for all errors arising from missconfigured bindings.
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
(key, constructResolvingMessage:Function)
:markdown
.l-sub-section
h3 addKey
pre.prettyprint
code.
(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.
()
:markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/directives">angular2/directives</a> exported from <a href="/angular2/directives.html">angular2/directives</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/for.js#L44">angular2/src/directives/for.js (line 44)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/for.js#L44">angular2/src/directives/for.js (line 44)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/directives">angular2/directives</a> exported from <a href="/angular2/directives.html">angular2/directives</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/if.js#L33">angular2/src/directives/if.js (line 33)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/if.js#L33">angular2/src/directives/if.js (line 33)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/directives">angular2/directives</a> exported from <a href="/angular2/directives.html">angular2/directives</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/non_bindable.js#L21">angular2/src/directives/non_bindable.js (line 21)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/non_bindable.js#L21">angular2/src/directives/non_bindable.js (line 21)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/directives">angular2/directives</a> exported from <a href="/angular2/directives.html">angular2/directives</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/switch.js#L39">angular2/src/directives/switch.js (line 39)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/switch.js#L39">angular2/src/directives/switch.js (line 39)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/directives">angular2/directives</a> exported from <a href="/angular2/directives.html">angular2/directives</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/switch.js#L187">angular2/src/directives/switch.js (line 187)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/switch.js#L187">angular2/src/directives/switch.js (line 187)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/directives">angular2/directives</a> exported from <a href="/angular2/directives.html">angular2/directives</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/switch.js#L152">angular2/src/directives/switch.js (line 152)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/directives/switch.js#L152">angular2/src/directives/switch.js (line 152)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/directives.js#L62">angular2/src/forms/directives.js (line 62)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/directives.js#L62">angular2/src/forms/directives.js (line 62)</a>
:markdown :markdown

View File

@ -1,13 +1,13 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/model.js#L96">angular2/src/forms/model.js (line 96)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/model.js#L96">angular2/src/forms/model.js (line 96)</a>
:markdown :markdown
Defines a part of a form that cannot be divided into other controls. 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 `Control` is one of the three fundamental building blocks used to define forms in Angular, along with
<a href="angular2/forms/ControlGroup-class"><code>ControlGroup</code></a> and <a href="angular2/forms/ControlArray-class"><code>ControlArray</code></a>. <a href="ControlGroup-class.html"><code>ControlGroup</code></a> and <a href="ControlArray-class.html"><code>ControlArray</code></a>.
.l-main-section .l-main-section
h2 Members h2 Members

View File

@ -1,17 +1,17 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/model.js#L219">angular2/src/forms/model.js (line 219)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/model.js#L219">angular2/src/forms/model.js (line 219)</a>
:markdown :markdown
Defines a part of a form, of variable length, that can contain other controls. Defines a part of a form, of variable length, that can contain other controls.
A `ControlArray` aggregates the values and errors of each <a href="angular2/forms/Control-class"><code>Control</code></a> in the group. Thus, if one of the controls A `ControlArray` aggregates the values and errors of each <a href="Control-class.html"><code>Control</code></a> 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 in a group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group
changes as well. changes as well.
`ControlArray` is one of the three fundamental building blocks used to define forms in Angular, along with `ControlArray` is one of the three fundamental building blocks used to define forms in Angular, along with
<a href="angular2/forms/Control-class"><code>Control</code></a> and <a href="angular2/forms/ControlGroup-class"><code>ControlGroup</code></a>. <a href="angular2/forms/ControlGroup-class"><code>ControlGroup</code></a> can also contain other controls, but is of fixed <a href="Control-class.html"><code>Control</code></a> and <a href="ControlGroup-class.html"><code>ControlGroup</code></a>. <a href="ControlGroup-class.html"><code>ControlGroup</code></a> can also contain other controls, but is of fixed
length. length.
.l-main-section .l-main-section

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/directives.js#L114">angular2/src/forms/directives.js (line 114)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/directives.js#L114">angular2/src/forms/directives.js (line 114)</a>
:markdown :markdown
@ -12,7 +12,7 @@ p.location-badge.
the control will reflect that change. Likewise, if the value of the control changes, the input element reflects that the control will reflect that change. Likewise, if the value of the control changes, the input element reflects that
change. change.
Here we use <a href="angular2/forms/FormDirectives-var"><code>FormDirectives</code></a>, rather than importing each form directive individually, e.g. Here we use <a href="FormDirectives-var.html"><code>FormDirectives</code></a>, rather than importing each form directive individually, e.g.
`ControlDirective`, `ControlGroupDirective`. This is just a shorthand for the same end result. `ControlDirective`, `ControlGroupDirective`. This is just a shorthand for the same end result.
``` ```

View File

@ -1,17 +1,17 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/model.js#L132">angular2/src/forms/model.js (line 132)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/model.js#L132">angular2/src/forms/model.js (line 132)</a>
:markdown :markdown
Defines a part of a form, of fixed length, that can contain other controls. Defines a part of a form, of fixed length, that can contain other controls.
A ControlGroup aggregates the values and errors of each <a href="angular2/forms/Control-class"><code>Control</code></a> in the group. Thus, if one of the controls A ControlGroup aggregates the values and errors of each <a href="Control-class.html"><code>Control</code></a> 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 in a group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group
changes as well. changes as well.
`ControlGroup` is one of the three fundamental building blocks used to define forms in Angular, along with `ControlGroup` is one of the three fundamental building blocks used to define forms in Angular, along with
<a href="angular2/forms/Control-class"><code>Control</code></a> and <a href="angular2/forms/ControlArray-class"><code>ControlArray</code></a>. <a href="angular2/forms/ControlArray-class"><code>ControlArray</code></a> can also contain other controls, but is of variable <a href="Control-class.html"><code>Control</code></a> and <a href="ControlArray-class.html"><code>ControlArray</code></a>. <a href="ControlArray-class.html"><code>ControlArray</code></a> can also contain other controls, but is of variable
length. length.
.l-main-section .l-main-section

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/directives.js#L210">angular2/src/forms/directives.js (line 210)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/directives.js#L210">angular2/src/forms/directives.js (line 210)</a>
:markdown :markdown
@ -11,7 +11,7 @@ p.location-badge.
In this example, we bind the control group to the form element, and we bind the login and password controls to the 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. login and password elements.
Here we use <a href="angular2/forms/FormDirectives-var"><code>FormDirectives</code></a>, rather than importing each form directive individually, e.g. Here we use <a href="FormDirectives-var.html"><code>FormDirectives</code></a>, rather than importing each form directive individually, e.g.
`ControlDirective`, `ControlGroupDirective`. This is just a shorthand for the same end result. `ControlDirective`, `ControlGroupDirective`. This is just a shorthand for the same end result.
``` ```

View File

@ -1,10 +1,10 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/directives.js#L31">angular2/src/forms/directives.js (line 31)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/directives.js#L31">angular2/src/forms/directives.js (line 31)</a>
:markdown :markdown
The default accessor for writing a value and listening to changes that is used by a <a href="angular2/forms/Control-class"><code>Control</code></a> directive. The default accessor for writing a value and listening to changes that is used by a <a href="Control-class.html"><code>Control</code></a> directive.
This is the default strategy that Angular uses when no other accessor is applied. This is the default strategy that Angular uses when no other accessor is applied.

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/form_builder.js#L26">angular2/src/forms/form_builder.js (line 26)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/form_builder.js#L26">angular2/src/forms/form_builder.js (line 26)</a>
:markdown :markdown
@ -8,8 +8,8 @@ p.location-badge.
# Example # Example
This example creates a <a href="angular2/forms/ControlGroup-class"><code>ControlGroup</code></a> that consists of a `login` <a href="angular2/forms/Control-class"><code>Control</code></a>, and a nested This example creates a <a href="ControlGroup-class.html"><code>ControlGroup</code></a> that consists of a `login` <a href="Control-class.html"><code>Control</code></a>, and a nested
<a href="angular2/forms/ControlGroup-class"><code>ControlGroup</code></a> that defines a `password` and a `passwordConfirmation` <a href="angular2/forms/Control-class"><code>Control</code></a>. <a href="ControlGroup-class.html"><code>ControlGroup</code></a> that defines a `password` and a `passwordConfirmation` <a href="Control-class.html"><code>Control</code></a>.
``` ```
var loginForm = builder.group({ var loginForm = builder.group({

View File

@ -2,7 +2,7 @@
.l-main-section .l-main-section
h2 FormDirectives <span class="type">variable</span> h2 FormDirectives <span class="type">variable</span>
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
:markdown :markdown
A list of all the form directives used as part of a `@View` annotation. A list of all the form directives used as part of a `@View` annotation.

View File

@ -2,7 +2,7 @@
.l-main-section .l-main-section
h2 INVALID <span class="type">variable</span> h2 INVALID <span class="type">variable</span>
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
:markdown :markdown
Indicates that a Control is invalid, i.e. that an error exists in the input value. Indicates that a Control is invalid, i.e. that an error exists in the input value.

View File

@ -2,7 +2,7 @@
.l-main-section .l-main-section
h2 VALID <span class="type">variable</span> h2 VALID <span class="type">variable</span>
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
:markdown :markdown
Indicates that a Control is valid, i.e. that no errors exist in the input value. Indicates that a Control is valid, i.e. that no errors exist in the input value.

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/forms">angular2/forms</a> exported from <a href="/angular2/forms.html">angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/validators.js#L16">angular2/src/forms/validators.js (line 16)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/validators.js#L16">angular2/src/forms/validators.js (line 16)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/async_pipe.js#L29">angular2/src/change_detection/pipes/async_pipe.js (line 29)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/async_pipe.js#L29">angular2/src/change_detection/pipes/async_pipe.js (line 29)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/async_pipe.js#L103">angular2/src/change_detection/pipes/async_pipe.js (line 103)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/async_pipe.js#L103">angular2/src/change_detection/pipes/async_pipe.js (line 103)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/iterable_changes.js#L509">angular2/src/change_detection/pipes/iterable_changes.js (line 509)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/iterable_changes.js#L509">angular2/src/change_detection/pipes/iterable_changes.js (line 509)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/iterable_changes.js#L31">angular2/src/change_detection/pipes/iterable_changes.js (line 31)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/iterable_changes.js#L31">angular2/src/change_detection/pipes/iterable_changes.js (line 31)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/keyvalue_changes.js#L360">angular2/src/change_detection/pipes/keyvalue_changes.js (line 360)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/keyvalue_changes.js#L360">angular2/src/change_detection/pipes/keyvalue_changes.js (line 360)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/keyvalue_changes.js#L21">angular2/src/change_detection/pipes/keyvalue_changes.js (line 21)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/keyvalue_changes.js#L21">angular2/src/change_detection/pipes/keyvalue_changes.js (line 21)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/keyvalue_changes.js#L8">angular2/src/change_detection/pipes/keyvalue_changes.js (line 8)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/keyvalue_changes.js#L8">angular2/src/change_detection/pipes/keyvalue_changes.js (line 8)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/null_pipe.js#L19">angular2/src/change_detection/pipes/null_pipe.js (line 19)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/null_pipe.js#L19">angular2/src/change_detection/pipes/null_pipe.js (line 19)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/null_pipe.js#L6">angular2/src/change_detection/pipes/null_pipe.js (line 6)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/null_pipe.js#L6">angular2/src/change_detection/pipes/null_pipe.js (line 6)</a>
:markdown :markdown

View File

@ -1,12 +1,12 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/pipe.js#L32">angular2/src/change_detection/pipes/pipe.js (line 32)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/change_detection/pipes/pipe.js#L32">angular2/src/change_detection/pipes/pipe.js (line 32)</a>
:markdown :markdown
An interface for extending the list of pipes known to Angular. An interface for extending the list of pipes known to Angular.
If you are writing a custom <a href="angular2/pipes/Pipe-class"><code>Pipe</code></a>, you must extend this interface. If you are writing a custom <a href="Pipe-class.html"><code>Pipe</code></a>, you must extend this interface.
#Example #Example

View File

@ -2,7 +2,7 @@
.l-main-section .l-main-section
h2 async <span class="type">variable</span> h2 async <span class="type">variable</span>
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
:markdown :markdown
Async binding to such types as Observable. Async binding to such types as Observable.

View File

@ -2,7 +2,7 @@
.l-main-section .l-main-section
h2 iterableDiff <span class="type">variable</span> h2 iterableDiff <span class="type">variable</span>
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
:markdown :markdown
Structural diffing for `Iterable` types such as `Array`s. Structural diffing for `Iterable` types such as `Array`s.

View File

@ -2,7 +2,7 @@
.l-main-section .l-main-section
h2 keyValDiff <span class="type">variable</span> h2 keyValDiff <span class="type">variable</span>
p.location-badge. p.location-badge.
exported from <a href="/angular2/pipes">angular2/pipes</a> exported from <a href="/angular2/pipes.html">angular2/pipes</a>
:markdown :markdown
Structural diffing for `Object`s and `Map`s. Structural diffing for `Object`s and `Map`s.

View File

@ -1,5 +0,0 @@
ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
name = page.menuTitle || page.title
selected = current.path[4] == slug ? 'is-selected':''
li <a class="#{selected}" href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button> #{slug}</a>

View File

@ -1,58 +0,0 @@
p.
<span class="location-badge">exported from <a href="/angular2/template">angular2/template</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/compiler.js#L46">angular2/src/core/compiler/compiler.js (line 46)</a>
:markdown
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
(reader: DirectiveMetadataReader, cache:CompilerCache, templateResolver: TemplateResolver, componentUrlMapper: ComponentUrlMapper, urlResolver: UrlResolver, renderer: renderApi.Renderer, protoViewFactory: ProtoViewFactory)
:markdown
.l-sub-section
h3 compile
pre.prettyprint
code.
(component: Type)
:markdown
.l-sub-section
h3 compileInHost
pre.prettyprint
code.
(componentTypeOrBinding:any)
:markdown

View File

@ -1,281 +0,0 @@
p.
<span class="location-badge">exported from <a href="/angular2/template">angular2/template</a></span>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/view_container.js#L15">angular2/src/core/compiler/view_container.js (line 15)</a>
:markdown
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
(viewFactory:vfModule.ViewFactory, renderer: Renderer, parentView: viewModule.AppView, defaultProtoView: viewModule.AppProtoView, elementInjector: eiModule.ElementInjector)
:markdown
.l-sub-section
h3 appInjector
:markdown
.l-sub-section
h3 clear
pre.prettyprint
code.
()
:markdown
.l-sub-section
h3 create
pre.prettyprint
code.
(atIndex=-1, protoView:viewModule.AppProtoView = null)
:markdown
.l-sub-section
h3 defaultProtoView
:markdown
.l-sub-section
h3 detach
pre.prettyprint
code.
(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.
(index: number)
:markdown
.l-sub-section
h3 hostElementInjector
:markdown
.l-sub-section
h3 hydrated
pre.prettyprint
code.
()
:markdown
.l-sub-section
h3 insert
pre.prettyprint
code.
(view, atIndex=-1)
:markdown
.l-sub-section
h3 internalClearWithoutRender
pre.prettyprint
code.
()
:markdown
.l-sub-section
h3 length
:markdown
.l-sub-section
h3 parentView
:markdown
.l-sub-section
h3 remove
pre.prettyprint
code.
(atIndex=-1)
:markdown
.l-sub-section
h3 render
:markdown
.l-sub-section
h3 renderer
:markdown
.l-sub-section
h3 viewFactory
:markdown
.l-sub-section
h3 viewHydrator
:markdown

View File

@ -1,9 +0,0 @@
{
"Compiler-class" : {
"title" : "Compiler Class"
},
"ViewContainer-class" : {
"title" : "ViewContainer Class"
}
}

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/test">angular2/test</a> exported from <a href="/angular2/test.html">angular2/test</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/test_lib/test_bed.js#L24">angular2/src/test_lib/test_bed.js (line 24)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/test_lib/test_bed.js#L24">angular2/src/test_lib/test_bed.js (line 24)</a>
:markdown :markdown
@ -49,7 +49,7 @@ p.location-badge.
overrideDirective(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 :markdown
Overrides the directives from the component <a href="angular2/annotations/View-class"><code>View</code></a>. Overrides the directives from the component <a href="../annotations/View-class.html"><code>View</code></a>.
@ -65,7 +65,7 @@ p.location-badge.
overrideView(component: Type, template: View, [object Object], [object Object]) overrideView(component: Type, template: View, [object Object], [object Object])
:markdown :markdown
Overrides the <a href="angular2/annotations/View-class"><code>View</code></a> of a <a href="angular2/annotations/Component-class"><code>Component</code></a>. Overrides the <a href="../annotations/View-class.html"><code>View</code></a> of a <a href="../annotations/Component-class.html"><code>Component</code></a>.
@ -81,8 +81,8 @@ p.location-badge.
setInlineTemplate(component: Type, html: string, [object Object], [object Object]) setInlineTemplate(component: Type, html: string, [object Object], [object Object])
:markdown :markdown
Overrides only the html of a <a href="angular2/annotations/Component-class"><code>Component</code></a>. Overrides only the html of a <a href="../annotations/Component-class.html"><code>Component</code></a>.
All the other propoerties of the component's <a href="angular2/annotations/View-class"><code>View</code></a> are preserved. All the other propoerties of the component's <a href="../annotations/View-class.html"><code>View</code></a> are preserved.

View File

@ -5,7 +5,7 @@
p <code>(tokens: List, fn: Function)</code> p <code>(tokens: List, fn: Function)</code>
p.location-badge. p.location-badge.
exported from <a href="/angular2/test">angular2/test</a> exported from <a href="/angular2/test.html">angular2/test</a>
:markdown :markdown
Allows injecting dependencies in `beforeEach()` and `it()`. Allows injecting dependencies in `beforeEach()` and `it()`.

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/view">angular2/view</a> exported from <a href="/angular2/view.html">angular2/view</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/base_query_list.js#L12">angular2/src/core/compiler/base_query_list.js (line 12)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/base_query_list.js#L12">angular2/src/core/compiler/base_query_list.js (line 12)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/view">angular2/view</a> exported from <a href="/angular2/view.html">angular2/view</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/compiler.js#L46">angular2/src/core/compiler/compiler.js (line 46)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/compiler.js#L46">angular2/src/core/compiler/compiler.js (line 46)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/view">angular2/view</a> exported from <a href="/angular2/view.html">angular2/view</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/dynamic_component_loader.js#L14">angular2/src/core/compiler/dynamic_component_loader.js (line 14)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/dynamic_component_loader.js#L14">angular2/src/core/compiler/dynamic_component_loader.js (line 14)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/view">angular2/view</a> exported from <a href="/angular2/view.html">angular2/view</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/dynamic_component_loader.js#L47">angular2/src/core/compiler/dynamic_component_loader.js (line 47)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/dynamic_component_loader.js#L47">angular2/src/core/compiler/dynamic_component_loader.js (line 47)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/view">angular2/view</a> exported from <a href="/angular2/view.html">angular2/view</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/element_injector.js#L27">angular2/src/core/compiler/element_injector.js (line 27)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/element_injector.js#L27">angular2/src/core/compiler/element_injector.js (line 27)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/view">angular2/view</a> exported from <a href="/angular2/view.html">angular2/view</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/query_list.js#L68">angular2/src/core/compiler/query_list.js (line 68)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/query_list.js#L68">angular2/src/core/compiler/query_list.js (line 68)</a>
:markdown :markdown

View File

@ -1,6 +1,6 @@
p.location-badge. p.location-badge.
exported from <a href="/angular2/view">angular2/view</a> exported from <a href="/angular2/view.html">angular2/view</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/view_container.js#L12">angular2/src/core/compiler/view_container.js (line 12)</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/view_container.js#L12">angular2/src/core/compiler/view_container.js (line 12)</a>
:markdown :markdown