+ ```
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 events
+
+
+ :markdown
+ Enumerates the set of emitted events.
+
+ ## Syntax
+
+ ```
+ @Component({
+ events: ['statusChange']
+ })
+ class TaskComponent {
+ statusChange: EventEmitter;
+
+ constructor() {
+ this.statusChange = new EventEmitter();
+ }
+
+ onComplete() {
+ this.statusChange.next('completed');
+ }
+ }
+ ```
+
+ Use `propertyName: eventName` when the event emitter property name is different from the name
+ of the emitted event:
+
+ ```
+ @Component({
+ events: ['status: statusChange']
+ })
+ class TaskComponent {
+ status: EventEmitter;
+
+ constructor() {
+ this.status = new EventEmitter();
+ }
+
+ onComplete() {
+ this.status.next('completed');
+ }
+ }
+ ```
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 host
+
+
+ :markdown
+ Specifiy the events, actions, properties and attributes related to the host element.
+
+ ## Events
+
+ Specifies which DOM hostListeners a directive listens to via a set of `(event)` to `method`
+ key-value pairs:
+
+ - `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`.
+
+ 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. (will be implemented in later release)
+
+ ## Syntax
+
+ ```
+ @Directive({
+ host: {
+ '(event1)': 'onMethod1(arguments)',
+ '(target:event2)': 'onMethod2(arguments)',
+ ...
+ }
+ }
+ ```
+
+ ## Basic Event Binding:
+
+ Suppose you want to write a directive that reacts to `change` events in the DOM and on
+ `resize` events in window.
+ You would define the event binding as follows:
+
+ ```
+ @Directive({
+ selector: 'input',
+ host: {
+ '(change)': 'onChange($event)',
+ '(window:resize)': 'onResize($event)'
+ }
+ })
+ class InputDirective {
+ onChange(event:Event) {
+ // invoked when the input element fires the 'change' event
+ }
+ onResize(event:Event) {
+ // invoked when the window fires the 'resize' event
+ }
+ }
+ ```
+
+ ## Properties
+
+ Specifies which DOM properties a directives updates.
+
+ ## Syntax
+
+ ```
+ @Directive({
+ selector: 'input',
+ host: {
+ '[prop]': 'expression'
+ }
+ })
+ class InputDirective {
+ value:string;
+ }
+ ```
+
+ In this example the prop property of the host element is updated with the expression value
+ every time it changes.
+
+ ## Attributes
+
+ Specifies static attributes that should be propagated to a host element. Attributes specified
+ in `hostAttributes` are propagated only if a given attribute is not present on a host element.
+
+ ## Syntax
+
+ ```
+ @Directive({
+ selector: '[my-button]',
+ host: {
+ 'role': 'button'
+ }
+ })
+ class MyButton {
+ }
+ ```
+
+ In this example using `my-button` directive (ex.: `
` ) will ensure that this element will get the "button" role.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 compileChildren
+
+
+ :markdown
+ If set to false the compiler does not compile the children of this directive.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 bindings
+
+
+ :markdown
+ Defines the set of injectable objects that are visible to a Directive and its light dom
+ children.
+
+ ## Simple Example
+
+ Here is an example of a class that can be injected:
+
+ ```
+ class Greeter {
+ greet(name:string) {
+ return 'Hello ' + name + '!';
+ }
+ }
+
+ @Directive({
+ selector: 'greet',
+ bindings: [
+ Greeter
+ ]
+ })
+ class HelloWorld {
+ greeter:Greeter;
+
+ constructor(greeter:Greeter) {
+ this.greeter = greeter;
+ }
+ }
+ ```
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 exportAs
+
+
+ :markdown
+ Defines the name that can be used in the template to assign this directive to a variable.
+
+ ## Simple Example
+
+ ```
+ @Directive({
+ selector: 'child-dir',
+ exportAs: 'child'
+ })
+ class ChildDir {
+ }
+
+ @Component({
+ selector: 'main',
+ })
+ @View({
+ template: `
`,
+ directives: [ChildDir]
+ })
+ class MainComponent {
+ }
+
+ ```
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/DirectiveResolver-class.jade b/public/docs/js/latest/api/core/DirectiveResolver-class.jade
new file mode 100644
index 0000000000..0300635ecb
--- /dev/null
+++ b/public/docs/js/latest/api/core/DirectiveResolver-class.jade
@@ -0,0 +1,35 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/directive_resolver.ts (line 13)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 resolve
+
+
+ pre.prettyprint
+ code.
+ resolve(type: Type)
+
+ :markdown
+ Return
DirectiveMetadata for a given `Type`.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/DoCheck-class.jade b/public/docs/js/latest/api/core/DoCheck-class.jade
new file mode 100644
index 0000000000..f0be58f051
--- /dev/null
+++ b/public/docs/js/latest/api/core/DoCheck-class.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/interfaces.ts (line 65)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 doCheck
+
+
+ pre.prettyprint
+ code.
+ doCheck()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/DomRenderer-interface.jade b/public/docs/js/latest/api/core/DomRenderer-interface.jade
new file mode 100644
index 0000000000..d2cf2de394
--- /dev/null
+++ b/public/docs/js/latest/api/core/DomRenderer-interface.jade
@@ -0,0 +1,290 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/dom/dom_renderer.ts (line 34)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 createRootHostView
+
+
+ pre.prettyprint
+ code.
+ createRootHostView(hostProtoViewRef: RenderProtoViewRef, fragmentCount: number, hostElementSelector: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 createView
+
+
+ pre.prettyprint
+ code.
+ createView(protoViewRef: RenderProtoViewRef, fragmentCount: number)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 destroyView
+
+
+ pre.prettyprint
+ code.
+ destroyView(viewRef: RenderViewRef)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getNativeElementSync
+
+
+ pre.prettyprint
+ code.
+ getNativeElementSync(location: RenderElementRef)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getRootNodes
+
+
+ pre.prettyprint
+ code.
+ getRootNodes(fragment: RenderFragmentRef)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 attachFragmentAfterFragment
+
+
+ pre.prettyprint
+ code.
+ attachFragmentAfterFragment(previousFragmentRef: RenderFragmentRef, fragmentRef: RenderFragmentRef)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 attachFragmentAfterElement
+
+
+ pre.prettyprint
+ code.
+ attachFragmentAfterElement(elementRef: RenderElementRef, fragmentRef: RenderFragmentRef)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 detachFragment
+
+
+ pre.prettyprint
+ code.
+ detachFragment(fragmentRef: RenderFragmentRef)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 hydrateView
+
+
+ pre.prettyprint
+ code.
+ hydrateView(viewRef: RenderViewRef)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 dehydrateView
+
+
+ pre.prettyprint
+ code.
+ dehydrateView(viewRef: RenderViewRef)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setElementProperty
+
+
+ pre.prettyprint
+ code.
+ setElementProperty(location: RenderElementRef, propertyName: string, propertyValue: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setElementAttribute
+
+
+ pre.prettyprint
+ code.
+ setElementAttribute(location: RenderElementRef, attributeName: string, attributeValue: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setElementClass
+
+
+ pre.prettyprint
+ code.
+ setElementClass(location: RenderElementRef, className: string, isAdd: boolean)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setElementStyle
+
+
+ pre.prettyprint
+ code.
+ setElementStyle(location: RenderElementRef, styleName: string, styleValue: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 invokeElementMethod
+
+
+ pre.prettyprint
+ code.
+ invokeElementMethod(location: RenderElementRef, methodName: string, args: any[])
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setText
+
+
+ pre.prettyprint
+ code.
+ setText(viewRef: RenderViewRef, textNodeIndex: number, text: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setEventDispatcher
+
+
+ pre.prettyprint
+ code.
+ setEventDispatcher(viewRef: RenderViewRef, dispatcher: any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade b/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade
new file mode 100644
index 0000000000..4bc7b9a5cd
--- /dev/null
+++ b/public/docs/js/latest/api/core/DynamicComponentLoader-class.jade
@@ -0,0 +1,218 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/dynamic_component_loader.ts (line 42)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_compiler: Compiler, _viewManager: AppViewManager)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 loadAsRoot
+
+
+ pre.prettyprint
+ code.
+ loadAsRoot(typeOrBinding: Type | Binding, overrideSelector: string, injector: Injector)
+
+ :markdown
+ Loads a root component that is placed at the first element that matches the component's
+ selector.
+
+ - `typeOrBinding` `Type` \
Binding - representing the component to load.
+ - `overrideSelector` (optional) selector to load the component at (or use
+ `@Component.selector`) The selector can be anywhere (i.e. outside the current component.)
+ - `injector`
Injector - optional injector to use for the component.
+
+ The loaded component receives injection normally as a hosted view.
+
+
+
+
+ ```
+ @ng.Component({
+ selector: 'child-component'
+ })
+ @ng.View({
+ template: 'Child'
+ })
+ class ChildComponent {
+ }
+
+
+
+ @ng.Component({
+ selector: 'my-app'
+ })
+ @ng.View({
+ template: `
+ Parent (
)
+ `
+ })
+ class MyApp {
+ constructor(dynamicComponentLoader: ng.DynamicComponentLoader, injector: ng.Injector) {
+ dynamicComponentLoader.loadAsRoot(ChildComponent, '#child', injector);
+ }
+ }
+
+ ng.bootstrap(MyApp);
+ ```
+
+ Resulting DOM:
+
+ ```
+
+ Parent (
+
+ Child
+
+ )
+
+ ```
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 loadIntoLocation
+
+
+ pre.prettyprint
+ code.
+ loadIntoLocation(typeOrBinding: Type | Binding, hostLocation: ElementRef, anchorName: string, bindings?: ResolvedBinding[])
+
+ :markdown
+ Loads a component into the component view of the provided ElementRef next to the element
+ with the given name.
+
+ The loaded component receives injection normally as a hosted view.
+
+
+
+ ```
+ @ng.Component({
+ selector: 'child-component'
+ })
+ @ng.View({
+ template: 'Child'
+ })
+ class ChildComponent {
+ }
+
+
+ @ng.Component({
+ selector: 'my-app'
+ })
+ @ng.View({
+ template: `
+ Parent (
)
+ `
+ })
+ class MyApp {
+ constructor(dynamicComponentLoader: ng.DynamicComponentLoader, elementRef: ng.ElementRef) {
+ dynamicComponentLoader.loadIntoLocation(ChildComponent, elementRef, 'child');
+ }
+ }
+
+ ng.bootstrap(MyApp);
+ ```
+
+ Resulting DOM:
+
+ ```
+
+ Parent (
+
+ Child
+ )
+
+ ```
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 loadNextToLocation
+
+
+ pre.prettyprint
+ code.
+ loadNextToLocation(typeOrBinding: Type | Binding, location: ElementRef, bindings?: ResolvedBinding[])
+
+ :markdown
+ Loads a component next to the provided ElementRef.
+
+ The loaded component receives injection normally as a hosted view.
+
+
+
+
+ ```
+ @ng.Component({
+ selector: 'child-component'
+ })
+ @ng.View({
+ template: 'Child'
+ })
+ class ChildComponent {
+ }
+
+
+ @ng.Component({
+ selector: 'my-app'
+ })
+ @ng.View({
+ template: `Parent`
+ })
+ class MyApp {
+ constructor(dynamicComponentLoader: ng.DynamicComponentLoader, elementRef: ng.ElementRef) {
+ dynamicComponentLoader.loadIntoLocation(ChildComponent, elementRef, 'child');
+ }
+ }
+
+ ng.bootstrap(MyApp);
+ ```
+
+ Resulting DOM:
+
+ ```
+
Parent
+
Child
+ ```
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ELEMENT_PROBE_BINDINGS-const.jade b/public/docs/js/latest/api/core/ELEMENT_PROBE_BINDINGS-const.jade
new file mode 100644
index 0000000000..ae00c6d353
--- /dev/null
+++ b/public/docs/js/latest/api/core/ELEMENT_PROBE_BINDINGS-const.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/debug/debug_element_view_listener.ts (line 71)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/core/ElementRef-class.jade b/public/docs/js/latest/api/core/ElementRef-class.jade
new file mode 100644
index 0000000000..f094390a5c
--- /dev/null
+++ b/public/docs/js/latest/api/core/ElementRef-class.jade
@@ -0,0 +1,101 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/element_ref.ts (line 3)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(parentView: ViewRef, boundElementIndex: number, renderBoundElementIndex: number, _renderer: Renderer)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 parentView
+
+
+ :markdown
+ Reference to the
ViewRef where the `ElementRef` is inside of.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 boundElementIndex
+
+
+ :markdown
+ Index of the element inside the
ViewRef.
+
+ This is used internally by the Angular framework to locate elements.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 renderBoundElementIndex
+
+
+ :markdown
+ Index of the element inside the `RenderViewRef`.
+
+ This is used internally by the Angular framework to locate elements.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 renderView
+
+
+ :markdown
+
+
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 nativeElement
+
+
+ :markdown
+ Returns the native Element implementation.
+
+ In the browser this represents the DOM element.
+
+ The `nativeElement` can be used as an escape hatch when direct DOM manipulation is needed. Use
+ this with caution, as it creates tight coupling between your application and the browser, which
+ will not work in Web Workers.
+
+ NOTE: This method will return null in the webworker scenario!
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Event-var.jade b/public/docs/js/latest/api/core/Event-var.jade
new file mode 100644
index 0000000000..8d295bafe0
--- /dev/null
+++ b/public/docs/js/latest/api/core/Event-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 529)
+
+ :markdown
+
EventMetadata factory function.
+
+
+
diff --git a/public/docs/js/latest/api/core/EventEmitter-class.jade b/public/docs/js/latest/api/core/EventEmitter-class.jade
new file mode 100644
index 0000000000..611d652064
--- /dev/null
+++ b/public/docs/js/latest/api/core/EventEmitter-class.jade
@@ -0,0 +1,91 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/facade/async.ts (line 90)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 observer
+
+
+ pre.prettyprint
+ code.
+ observer(generator: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toRx
+
+
+ pre.prettyprint
+ code.
+ toRx()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 next
+
+
+ pre.prettyprint
+ code.
+ next(value: any)
+
+ :markdown
+ Emits a `value`.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 throw
+
+
+ pre.prettyprint
+ code.
+ throw(error: any)
+
+ :markdown
+ Emits an `error`.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 return
+
+
+ pre.prettyprint
+ code.
+ return(value?: any)
+
+ :markdown
+ Closes the stream.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/EventFactory-interface.jade b/public/docs/js/latest/api/core/EventFactory-interface.jade
new file mode 100644
index 0000000000..70fb204cf7
--- /dev/null
+++ b/public/docs/js/latest/api/core/EventFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 423)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/EventMetadata-class.jade b/public/docs/js/latest/api/core/EventMetadata-class.jade
new file mode 100644
index 0000000000..b3e3e7b66e
--- /dev/null
+++ b/public/docs/js/latest/api/core/EventMetadata-class.jade
@@ -0,0 +1,38 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata/directives.ts (line 893)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(bindingPropertyName?: string)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 bindingPropertyName
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ExpressionChangedAfterItHasBeenCheckedException-class.jade b/public/docs/js/latest/api/core/ExpressionChangedAfterItHasBeenCheckedException-class.jade
new file mode 100644
index 0000000000..4ab348f3a8
--- /dev/null
+++ b/public/docs/js/latest/api/core/ExpressionChangedAfterItHasBeenCheckedException-class.jade
@@ -0,0 +1,23 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/exceptions.ts (line 1)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(exp: string, oldValue: any, currValue: any, context: any)
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/FORM_BINDINGS-const.jade b/public/docs/js/latest/api/core/FORM_BINDINGS-const.jade
new file mode 100644
index 0000000000..e47f5878b9
--- /dev/null
+++ b/public/docs/js/latest/api/core/FORM_BINDINGS-const.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms.ts (line 42)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/core/FORM_DIRECTIVES-const.jade b/public/docs/js/latest/api/core/FORM_DIRECTIVES-const.jade
new file mode 100644
index 0000000000..748adae5b5
--- /dev/null
+++ b/public/docs/js/latest/api/core/FORM_DIRECTIVES-const.jade
@@ -0,0 +1,13 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives.ts (line 38)
+
+ :markdown
+ A list of all the form directives used as part of a `@View` annotation.
+
+ This is a shorthand for importing them each individually.
+
+
+
diff --git a/public/docs/js/latest/api/core/Form-interface.jade b/public/docs/js/latest/api/core/Form-interface.jade
new file mode 100644
index 0000000000..f4a76f3e5e
--- /dev/null
+++ b/public/docs/js/latest/api/core/Form-interface.jade
@@ -0,0 +1,120 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/form_interface.ts (line 3)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 addControl
+
+
+ pre.prettyprint
+ code.
+ addControl(dir: NgControl)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeControl
+
+
+ pre.prettyprint
+ code.
+ removeControl(dir: NgControl)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getControl
+
+
+ pre.prettyprint
+ code.
+ getControl(dir: NgControl)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 addControlGroup
+
+
+ pre.prettyprint
+ code.
+ addControlGroup(dir: NgControlGroup)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeControlGroup
+
+
+ pre.prettyprint
+ code.
+ removeControlGroup(dir: NgControlGroup)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getControlGroup
+
+
+ pre.prettyprint
+ code.
+ getControlGroup(dir: NgControlGroup)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 updateModel
+
+
+ pre.prettyprint
+ code.
+ updateModel(dir: NgControl, value: any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/FormBuilder-class.jade b/public/docs/js/latest/api/core/FormBuilder-class.jade
new file mode 100644
index 0000000000..062fe9ba05
--- /dev/null
+++ b/public/docs/js/latest/api/core/FormBuilder-class.jade
@@ -0,0 +1,66 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/form_builder.ts (line 4)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 group
+
+
+ pre.prettyprint
+ code.
+ group(controlsConfig: StringMap<string, any>, extra?: StringMap<string, any>)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 control
+
+
+ pre.prettyprint
+ code.
+ control(value: Object, validator?: Function)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 array
+
+
+ pre.prettyprint
+ code.
+ array(controlsConfig: any[], validator?: Function)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ForwardRefFn-interface.jade b/public/docs/js/latest/api/core/ForwardRefFn-interface.jade
new file mode 100644
index 0000000000..140af2a99d
--- /dev/null
+++ b/public/docs/js/latest/api/core/ForwardRefFn-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/forward_ref.ts (line 1)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/Host-var.jade b/public/docs/js/latest/api/core/Host-var.jade
new file mode 100644
index 0000000000..aa233c4cd8
--- /dev/null
+++ b/public/docs/js/latest/api/core/Host-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 82)
+
+ :markdown
+ Factory for creating
HostMetadata.
+
+
+
diff --git a/public/docs/js/latest/api/core/HostBinding-var.jade b/public/docs/js/latest/api/core/HostBinding-var.jade
new file mode 100644
index 0000000000..a7ec26efa4
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostBinding-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 534)
+
+ :markdown
+
HostBindingMetadata factory function.
+
+
+
diff --git a/public/docs/js/latest/api/core/HostBindingFactory-interface.jade b/public/docs/js/latest/api/core/HostBindingFactory-interface.jade
new file mode 100644
index 0000000000..fd60b89993
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostBindingFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 443)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/HostBindingMetadata-class.jade b/public/docs/js/latest/api/core/HostBindingMetadata-class.jade
new file mode 100644
index 0000000000..4d3c919da4
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostBindingMetadata-class.jade
@@ -0,0 +1,38 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata/directives.ts (line 913)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(hostPropertyName?: string)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 hostPropertyName
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/HostFactory-interface.jade b/public/docs/js/latest/api/core/HostFactory-interface.jade
new file mode 100644
index 0000000000..3ec8571572
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 41)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/HostListener-var.jade b/public/docs/js/latest/api/core/HostListener-var.jade
new file mode 100644
index 0000000000..9c06091edd
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostListener-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 539)
+
+ :markdown
+
HostListenerMetadata factory function.
+
+
+
diff --git a/public/docs/js/latest/api/core/HostListenerFactory-interface.jade b/public/docs/js/latest/api/core/HostListenerFactory-interface.jade
new file mode 100644
index 0000000000..7865159d0f
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostListenerFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 463)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/HostListenerMetadata-class.jade b/public/docs/js/latest/api/core/HostListenerMetadata-class.jade
new file mode 100644
index 0000000000..fcb95ac7b4
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostListenerMetadata-class.jade
@@ -0,0 +1,50 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata/directives.ts (line 946)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(eventName: string, args?: string[])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 eventName
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 args
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/HostMetadata-class.jade b/public/docs/js/latest/api/core/HostMetadata-class.jade
new file mode 100644
index 0000000000..8b86a6eb52
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostMetadata-class.jade
@@ -0,0 +1,27 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/metadata.ts (line 138)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/HostViewRef-interface.jade b/public/docs/js/latest/api/core/HostViewRef-interface.jade
new file mode 100644
index 0000000000..8af7ce9d34
--- /dev/null
+++ b/public/docs/js/latest/api/core/HostViewRef-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/view_ref.ts (line 13)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/Inject-var.jade b/public/docs/js/latest/api/core/Inject-var.jade
new file mode 100644
index 0000000000..0b75456e07
--- /dev/null
+++ b/public/docs/js/latest/api/core/Inject-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 62)
+
+ :markdown
+ Factory for creating
InjectMetadata.
+
+
+
diff --git a/public/docs/js/latest/api/core/InjectFactory-interface.jade b/public/docs/js/latest/api/core/InjectFactory-interface.jade
new file mode 100644
index 0000000000..32c382e0eb
--- /dev/null
+++ b/public/docs/js/latest/api/core/InjectFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 9)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/InjectMetadata-class.jade b/public/docs/js/latest/api/core/InjectMetadata-class.jade
new file mode 100644
index 0000000000..7be9d2d83a
--- /dev/null
+++ b/public/docs/js/latest/api/core/InjectMetadata-class.jade
@@ -0,0 +1,54 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/metadata.ts (line 1)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(token: any)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 token
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Injectable-var.jade b/public/docs/js/latest/api/core/Injectable-var.jade
new file mode 100644
index 0000000000..03164f98f8
--- /dev/null
+++ b/public/docs/js/latest/api/core/Injectable-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 72)
+
+ :markdown
+ Factory for creating
InjectableMetadata.
+
+
+
diff --git a/public/docs/js/latest/api/core/InjectableFactory-interface.jade b/public/docs/js/latest/api/core/InjectableFactory-interface.jade
new file mode 100644
index 0000000000..8752dcc36c
--- /dev/null
+++ b/public/docs/js/latest/api/core/InjectableFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 25)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/InjectableMetadata-class.jade b/public/docs/js/latest/api/core/InjectableMetadata-class.jade
new file mode 100644
index 0000000000..0f2a12c4fb
--- /dev/null
+++ b/public/docs/js/latest/api/core/InjectableMetadata-class.jade
@@ -0,0 +1,26 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/metadata.ts (line 65)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Injector-class.jade b/public/docs/js/latest/api/core/Injector-class.jade
new file mode 100644
index 0000000000..e0b9472ac6
--- /dev/null
+++ b/public/docs/js/latest/api/core/Injector-class.jade
@@ -0,0 +1,214 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/injector.ts (line 394)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_proto: ProtoInjector, _parent?: Injector, _depProvider?: DependencyProvider, _debugContext?: Function)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 debugContext
+
+
+ pre.prettyprint
+ code.
+ debugContext()
+
+ :markdown
+ Returns debug information about the injector.
+
+ This information is included into exceptions thrown by the injector.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(token: any)
+
+ :markdown
+ Retrieves an instance from the injector.
+
+
+
+
+
+
+ .l-sub-section
+ h3 getOptional
+
+
+ pre.prettyprint
+ code.
+ getOptional(token: any)
+
+ :markdown
+ Retrieves an instance from the injector.
+
+
+
+
+
+
+ .l-sub-section
+ h3 getAt
+
+
+ pre.prettyprint
+ code.
+ getAt(index: number)
+
+ :markdown
+ Retrieves an instance from the injector.
+
+
+
+
+
+
+ .l-sub-section
+ h3 parent
+
+
+ :markdown
+ Direct parent of this injector.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 internalStrategy
+
+
+ :markdown
+ Internal. Do not use.
+
+ We return `any` not to export the InjectorStrategy type.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 resolveAndCreateChild
+
+
+ pre.prettyprint
+ code.
+ resolveAndCreateChild(bindings: Array<Type | Binding | any[]>, depProvider?: DependencyProvider)
+
+ :markdown
+ 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 list of
ResolvedBindings. The resolution can be cached by `resolve`
+ for the
Injector for performance-sensitive code.
+
+
+
+
+
+
+ .l-sub-section
+ h3 createChildFromResolved
+
+
+ pre.prettyprint
+ code.
+ createChildFromResolved(bindings: ResolvedBinding[], depProvider?: DependencyProvider)
+
+ :markdown
+ Creates a child injector and loads a new set of
ResolvedBindings into it.
+
+
+
+
+
+
+ .l-sub-section
+ h3 resolveAndInstantiate
+
+
+ pre.prettyprint
+ code.
+ resolveAndInstantiate(binding: Type | Binding)
+
+ :markdown
+ Resolves a binding and instantiates an object in the context of the injector.
+
+
+
+
+
+
+ .l-sub-section
+ h3 instantiateResolved
+
+
+ pre.prettyprint
+ code.
+ instantiateResolved(binding: ResolvedBinding)
+
+ :markdown
+ Instantiates an object using a resolved binding in the context of the injector.
+
+
+
+
+
+
+ .l-sub-section
+ h3 displayName
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/InstantiationError-class.jade b/public/docs/js/latest/api/core/InstantiationError-class.jade
new file mode 100644
index 0000000000..322cbd621a
--- /dev/null
+++ b/public/docs/js/latest/api/core/InstantiationError-class.jade
@@ -0,0 +1,111 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/exceptions.ts (line 93)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(injector: Injector, originalException: any, originalStack: any, key: Key)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 name
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 keys
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 injectors
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 addKey
+
+
+ pre.prettyprint
+ code.
+ addKey(injector: Injector, key: Key)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 wrapperMessage
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 causeKey
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 context
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/InvalidBindingError-class.jade b/public/docs/js/latest/api/core/InvalidBindingError-class.jade
new file mode 100644
index 0000000000..b3a9147d4e
--- /dev/null
+++ b/public/docs/js/latest/api/core/InvalidBindingError-class.jade
@@ -0,0 +1,51 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/exceptions.ts (line 125)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(binding: any)
+
+ :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/core/IterableDiffer-interface.jade b/public/docs/js/latest/api/core/IterableDiffer-interface.jade
new file mode 100644
index 0000000000..be9234942d
--- /dev/null
+++ b/public/docs/js/latest/api/core/IterableDiffer-interface.jade
@@ -0,0 +1,40 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/differs/iterable_differs.ts (line 5)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 diff
+
+
+ pre.prettyprint
+ code.
+ diff(object: Object)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onDestroy
+
+
+ pre.prettyprint
+ code.
+ onDestroy()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/IterableDifferFactory-interface.jade b/public/docs/js/latest/api/core/IterableDifferFactory-interface.jade
new file mode 100644
index 0000000000..31aa5508e6
--- /dev/null
+++ b/public/docs/js/latest/api/core/IterableDifferFactory-interface.jade
@@ -0,0 +1,40 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/differs/iterable_differs.ts (line 10)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 supports
+
+
+ pre.prettyprint
+ code.
+ supports(objects: Object)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 create
+
+
+ pre.prettyprint
+ code.
+ create(cdRef: ChangeDetectorRef)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/IterableDiffers-class.jade b/public/docs/js/latest/api/core/IterableDiffers-class.jade
new file mode 100644
index 0000000000..77f4cfe5ab
--- /dev/null
+++ b/public/docs/js/latest/api/core/IterableDiffers-class.jade
@@ -0,0 +1,61 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/differs/iterable_differs.ts (line 18)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(factories: IterableDifferFactory[])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 factories
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 find
+
+
+ pre.prettyprint
+ code.
+ find(iterable: Object)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/JsonPipe-class.jade b/public/docs/js/latest/api/core/JsonPipe-class.jade
new file mode 100644
index 0000000000..44a90b451b
--- /dev/null
+++ b/public/docs/js/latest/api/core/JsonPipe-class.jade
@@ -0,0 +1,41 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/pipes/json_pipe.ts (line 4)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Pipe
+ pre.prettyprint
+ code.
+ @Pipe({name: 'json'})
+
+
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 transform
+
+
+ pre.prettyprint
+ code.
+ transform(value: any, args?: any[])
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Key-class.jade b/public/docs/js/latest/api/core/Key-class.jade
new file mode 100644
index 0000000000..df440a4266
--- /dev/null
+++ b/public/docs/js/latest/api/core/Key-class.jade
@@ -0,0 +1,59 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/key.ts (line 7)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(token: Object, id: number)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 token
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 id
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 displayName
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/KeyRegistry-class.jade b/public/docs/js/latest/api/core/KeyRegistry-class.jade
new file mode 100644
index 0000000000..4dbbe15db0
--- /dev/null
+++ b/public/docs/js/latest/api/core/KeyRegistry-class.jade
@@ -0,0 +1,36 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/key.ts (line 37)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(token: Object)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 numberOfKeys
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/KeyValueDiffer-interface.jade b/public/docs/js/latest/api/core/KeyValueDiffer-interface.jade
new file mode 100644
index 0000000000..9627946653
--- /dev/null
+++ b/public/docs/js/latest/api/core/KeyValueDiffer-interface.jade
@@ -0,0 +1,40 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/differs/keyvalue_differs.ts (line 5)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 diff
+
+
+ pre.prettyprint
+ code.
+ diff(object: Object)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onDestroy
+
+
+ pre.prettyprint
+ code.
+ onDestroy()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/KeyValueDifferFactory-interface.jade b/public/docs/js/latest/api/core/KeyValueDifferFactory-interface.jade
new file mode 100644
index 0000000000..336ae4804f
--- /dev/null
+++ b/public/docs/js/latest/api/core/KeyValueDifferFactory-interface.jade
@@ -0,0 +1,40 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/differs/keyvalue_differs.ts (line 10)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 supports
+
+
+ pre.prettyprint
+ code.
+ supports(objects: Object)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 create
+
+
+ pre.prettyprint
+ code.
+ create(cdRef: ChangeDetectorRef)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/KeyValueDiffers-class.jade b/public/docs/js/latest/api/core/KeyValueDiffers-class.jade
new file mode 100644
index 0000000000..5b9c44f7ba
--- /dev/null
+++ b/public/docs/js/latest/api/core/KeyValueDiffers-class.jade
@@ -0,0 +1,61 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/differs/keyvalue_differs.ts (line 18)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(factories: KeyValueDifferFactory[])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 factories
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 find
+
+
+ pre.prettyprint
+ code.
+ find(kv: Object)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/LifeCycle-class.jade b/public/docs/js/latest/api/core/LifeCycle-class.jade
new file mode 100644
index 0000000000..a85fc0280a
--- /dev/null
+++ b/public/docs/js/latest/api/core/LifeCycle-class.jade
@@ -0,0 +1,61 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/life_cycle/life_cycle.ts (line 6)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(changeDetector?: ChangeDetector, enforceNoNewChanges?: boolean)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 tick
+
+
+ pre.prettyprint
+ code.
+ tick()
+
+ :markdown
+ Invoke this method to explicitly process change detection and its side-effects.
+
+ In development mode, `tick()` also performs a second change detection cycle to ensure that no
+ further
+ changes are detected. If additional changes are picked up during this second cycle, bindings
+ in
+ the app have
+ side-effects that cannot be resolved in a single change detection pass. In this case, Angular
+ throws an error,
+ since an Angular application can only have one change detection pass during which all change
+ detection must
+ complete.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/LimitToPipe-class.jade b/public/docs/js/latest/api/core/LimitToPipe-class.jade
new file mode 100644
index 0000000000..e67076eedb
--- /dev/null
+++ b/public/docs/js/latest/api/core/LimitToPipe-class.jade
@@ -0,0 +1,57 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/pipes/limit_to_pipe.ts (line 8)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Pipe
+ pre.prettyprint
+ code.
+ @Pipe({name: 'limitTo'})
+
+
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 supports
+
+
+ pre.prettyprint
+ code.
+ supports(obj: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 transform
+
+
+ pre.prettyprint
+ code.
+ transform(value: any, args?: any[])
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Locals-class.jade b/public/docs/js/latest/api/core/Locals-class.jade
new file mode 100644
index 0000000000..385e7b71ad
--- /dev/null
+++ b/public/docs/js/latest/api/core/Locals-class.jade
@@ -0,0 +1,111 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/parser/locals.ts (line 3)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(parent: Locals, current: Map<any, any>)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 parent
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 current
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 contains
+
+
+ pre.prettyprint
+ code.
+ contains(name: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(name: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 set
+
+
+ pre.prettyprint
+ code.
+ set(name: string, value: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 clearValues
+
+
+ pre.prettyprint
+ code.
+ clearValues()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/LowerCasePipe-class.jade b/public/docs/js/latest/api/core/LowerCasePipe-class.jade
new file mode 100644
index 0000000000..449eabcd9c
--- /dev/null
+++ b/public/docs/js/latest/api/core/LowerCasePipe-class.jade
@@ -0,0 +1,41 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/pipes/lowercase_pipe.ts (line 6)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Pipe
+ pre.prettyprint
+ code.
+ @Pipe({name: 'lowercase'})
+
+
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 transform
+
+
+ pre.prettyprint
+ code.
+ transform(value: string, args?: any[])
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE-const.jade b/public/docs/js/latest/api/core/MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE-const.jade
new file mode 100644
index 0000000000..d9f14eead2
--- /dev/null
+++ b/public/docs/js/latest/api/core/MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE-const.jade
@@ -0,0 +1,12 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/dom/dom_tokens.ts (line 25)
+
+ :markdown
+ Defines when a compiled template should be stored as a string
+ rather than keeping its Nodes to preserve memory.
+
+
+
diff --git a/public/docs/js/latest/api/core/NG_VALIDATORS-const.jade b/public/docs/js/latest/api/core/NG_VALIDATORS-const.jade
new file mode 100644
index 0000000000..1c3cefaed5
--- /dev/null
+++ b/public/docs/js/latest/api/core/NG_VALIDATORS-const.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/validators.ts (line 8)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/core/NgClass-class.jade b/public/docs/js/latest/api/core/NgClass-class.jade
new file mode 100644
index 0000000000..43e3118f45
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgClass-class.jade
@@ -0,0 +1,89 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_class.ts (line 16)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: '[ng-class]', properties: ['rawClass: ng-class', 'initialClasses: class']})
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_iterableDiffers: IterableDiffers, _keyValueDiffers: KeyValueDiffers, _ngEl: ElementRef, _renderer: Renderer)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 initialClasses
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 rawClass
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 doCheck
+
+
+ pre.prettyprint
+ code.
+ doCheck()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onDestroy
+
+
+ pre.prettyprint
+ code.
+ onDestroy()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgControl-class.jade b/public/docs/js/latest/api/core/NgControl-class.jade
new file mode 100644
index 0000000000..448d3e4f34
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgControl-class.jade
@@ -0,0 +1,72 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/ng_control.ts (line 2)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 name
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 valueAccessor
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 validator
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 viewToModelUpdate
+
+
+ pre.prettyprint
+ code.
+ viewToModelUpdate(newValue: any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgControlGroup-class.jade b/public/docs/js/latest/api/core/NgControlGroup-class.jade
new file mode 100644
index 0000000000..2d007f02a1
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgControlGroup-class.jade
@@ -0,0 +1,106 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/ng_control_group.ts (line 13)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({
+ selector: '[ng-control-group]',
+ bindings: [controlGroupBinding],
+ properties: ['name: ng-control-group'],
+ exportAs: 'form'
+ })
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_parent: ControlContainer)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 onInit
+
+
+ pre.prettyprint
+ code.
+ onInit()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onDestroy
+
+
+ pre.prettyprint
+ code.
+ onDestroy()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 control
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 formDirective
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgControlName-class.jade b/public/docs/js/latest/api/core/NgControlName-class.jade
new file mode 100644
index 0000000000..8e83e1ad6b
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgControlName-class.jade
@@ -0,0 +1,183 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/ng_control_name.ts (line 16)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({
+ selector: '[ng-control]',
+ bindings: [controlNameBinding],
+ properties: ['name: ngControl', 'model: ngModel'],
+ events: ['update: ngModel'],
+ exportAs: 'form'
+ })
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(parent: ControlContainer, validators: Function[])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 update
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 model
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 viewModel
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 validators
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onChanges
+
+
+ pre.prettyprint
+ code.
+ onChanges(c: StringMap<string, any>)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onDestroy
+
+
+ pre.prettyprint
+ code.
+ onDestroy()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 viewToModelUpdate
+
+
+ pre.prettyprint
+ code.
+ viewToModelUpdate(newValue: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 formDirective
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 control
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 validator
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgFor-class.jade b/public/docs/js/latest/api/core/NgFor-class.jade
new file mode 100644
index 0000000000..709bb7de83
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgFor-class.jade
@@ -0,0 +1,61 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_for.ts (line 9)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: '[ng-for][ng-for-of]', properties: ['ngForOf']})
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_viewContainer: ViewContainerRef, _templateRef: TemplateRef, _iterableDiffers: IterableDiffers, _cdr: ChangeDetectorRef)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngForOf
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 doCheck
+
+
+ pre.prettyprint
+ code.
+ doCheck()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgForm-class.jade b/public/docs/js/latest/api/core/NgForm-class.jade
new file mode 100644
index 0000000000..afdf937938
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgForm-class.jade
@@ -0,0 +1,241 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/ng_form.ts (line 19)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({
+ selector: 'form:not([ng-no-form]):not([ng-form-model]),ng-form,[ng-form]',
+ bindings: [formDirectiveBinding],
+ host: {
+ '(submit)': 'onSubmit()',
+ },
+ events: ['ngSubmit'],
+ exportAs: 'form'
+ })
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 form
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngSubmit
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 formDirective
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 control
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 controls
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 addControl
+
+
+ pre.prettyprint
+ code.
+ addControl(dir: NgControl)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getControl
+
+
+ pre.prettyprint
+ code.
+ getControl(dir: NgControl)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeControl
+
+
+ pre.prettyprint
+ code.
+ removeControl(dir: NgControl)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 addControlGroup
+
+
+ pre.prettyprint
+ code.
+ addControlGroup(dir: NgControlGroup)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeControlGroup
+
+
+ pre.prettyprint
+ code.
+ removeControlGroup(dir: NgControlGroup)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getControlGroup
+
+
+ pre.prettyprint
+ code.
+ getControlGroup(dir: NgControlGroup)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 updateModel
+
+
+ pre.prettyprint
+ code.
+ updateModel(dir: NgControl, value: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onSubmit
+
+
+ pre.prettyprint
+ code.
+ onSubmit()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgFormControl-class.jade b/public/docs/js/latest/api/core/NgFormControl-class.jade
new file mode 100644
index 0000000000..068dbc4cfd
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgFormControl-class.jade
@@ -0,0 +1,167 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/ng_form_control.ts (line 12)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({
+ selector: '[ng-form-control]',
+ bindings: [formControlBinding],
+ properties: ['form: ngFormControl', 'model: ngModel'],
+ events: ['update: ngModel'],
+ exportAs: 'form'
+ })
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(validators: Function[])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 form
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 update
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 model
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 viewModel
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 validators
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onChanges
+
+
+ pre.prettyprint
+ code.
+ onChanges(c: StringMap<string, any>)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 control
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 validator
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 viewToModelUpdate
+
+
+ pre.prettyprint
+ code.
+ viewToModelUpdate(newValue: any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgFormModel-class.jade b/public/docs/js/latest/api/core/NgFormModel-class.jade
new file mode 100644
index 0000000000..0f0e5cd976
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgFormModel-class.jade
@@ -0,0 +1,243 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/ng_form_model.ts (line 16)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({
+ selector: '[ng-form-model]',
+ bindings: [formDirectiveBinding],
+ properties: ['form: ng-form-model'],
+ host: {
+ '(submit)': 'onSubmit()',
+ },
+ events: ['ngSubmit'],
+ exportAs: 'form'
+ })
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 form
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 directives
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngSubmit
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onChanges
+
+
+ pre.prettyprint
+ code.
+ onChanges(_: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 formDirective
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 control
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 addControl
+
+
+ pre.prettyprint
+ code.
+ addControl(dir: NgControl)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getControl
+
+
+ pre.prettyprint
+ code.
+ getControl(dir: NgControl)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeControl
+
+
+ pre.prettyprint
+ code.
+ removeControl(dir: NgControl)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 addControlGroup
+
+
+ pre.prettyprint
+ code.
+ addControlGroup(dir: NgControlGroup)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeControlGroup
+
+
+ pre.prettyprint
+ code.
+ removeControlGroup(dir: NgControlGroup)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getControlGroup
+
+
+ pre.prettyprint
+ code.
+ getControlGroup(dir: NgControlGroup)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 updateModel
+
+
+ pre.prettyprint
+ code.
+ updateModel(dir: NgControl, value: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onSubmit
+
+
+ pre.prettyprint
+ code.
+ onSubmit()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgIf-class.jade b/public/docs/js/latest/api/core/NgIf-class.jade
new file mode 100644
index 0000000000..f220bd15ef
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgIf-class.jade
@@ -0,0 +1,45 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_if.ts (line 3)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: '[ng-if]', properties: ['ngIf']})
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_viewContainer: ViewContainerRef, _templateRef: TemplateRef)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngIf
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgModel-class.jade b/public/docs/js/latest/api/core/NgModel-class.jade
new file mode 100644
index 0000000000..033b45a038
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgModel-class.jade
@@ -0,0 +1,155 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/ng_model.ts (line 13)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({
+ selector: '[ng-model]:not([ng-control]):not([ng-form-control])',
+ bindings: [formControlBinding],
+ properties: ['model: ngModel'],
+ events: ['update: ngModel'],
+ exportAs: 'form'
+ })
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(validators: Function[])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 update
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 model
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 viewModel
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 validators
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onChanges
+
+
+ pre.prettyprint
+ code.
+ onChanges(c: StringMap<string, any>)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 control
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 validator
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 viewToModelUpdate
+
+
+ pre.prettyprint
+ code.
+ viewToModelUpdate(newValue: any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgNonBindable-class.jade b/public/docs/js/latest/api/core/NgNonBindable-class.jade
new file mode 100644
index 0000000000..65f09394ea
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgNonBindable-class.jade
@@ -0,0 +1,17 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_non_bindable.ts (line 1)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: '[ng-non-bindable]', compileChildren: false})
+
+
diff --git a/public/docs/js/latest/api/core/NgSelectOption-class.jade b/public/docs/js/latest/api/core/NgSelectOption-class.jade
new file mode 100644
index 0000000000..629716f910
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgSelectOption-class.jade
@@ -0,0 +1,17 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/select_control_value_accessor.ts (line 9)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: 'option'})
+
+
diff --git a/public/docs/js/latest/api/core/NgStyle-class.jade b/public/docs/js/latest/api/core/NgStyle-class.jade
new file mode 100644
index 0000000000..130ca688ea
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgStyle-class.jade
@@ -0,0 +1,61 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_style.ts (line 9)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: '[ng-style]', properties: ['rawStyle: ng-style']})
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_differs: KeyValueDiffers, _ngEl: ElementRef, _renderer: Renderer)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 rawStyle
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 doCheck
+
+
+ pre.prettyprint
+ code.
+ doCheck()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgSwitch-class.jade b/public/docs/js/latest/api/core/NgSwitch-class.jade
new file mode 100644
index 0000000000..f3c805b803
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgSwitch-class.jade
@@ -0,0 +1,30 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_switch.ts (line 15)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: '[ng-switch]', properties: ['ngSwitch']})
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 ngSwitch
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgSwitchDefault-class.jade b/public/docs/js/latest/api/core/NgSwitchDefault-class.jade
new file mode 100644
index 0000000000..625153d35a
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgSwitchDefault-class.jade
@@ -0,0 +1,33 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_switch.ts (line 157)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: '[ng-switch-default]'})
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, sswitch: NgSwitch)
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgSwitchWhen-class.jade b/public/docs/js/latest/api/core/NgSwitchWhen-class.jade
new file mode 100644
index 0000000000..c03eeff42c
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgSwitchWhen-class.jade
@@ -0,0 +1,45 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_switch.ts (line 125)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: '[ng-switch-when]', properties: ['ngSwitchWhen']})
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, _switch: NgSwitch)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngSwitchWhen
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NgZone-class.jade b/public/docs/js/latest/api/core/NgZone-class.jade
new file mode 100644
index 0000000000..73d7b3c8eb
--- /dev/null
+++ b/public/docs/js/latest/api/core/NgZone-class.jade
@@ -0,0 +1,162 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/zone/ng_zone.ts (line 6)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({enableLongStackTrace}: any)
+
+ :markdown
+ Associates with this
+
+ - a "root" zone, which the one that instantiated this.
+ - an "inner" zone, which is a child of the root zone.
+
+
+
+
+
+ .l-sub-section
+ h3 overrideOnTurnStart
+
+
+ pre.prettyprint
+ code.
+ overrideOnTurnStart(onTurnStartFn: Function)
+
+ :markdown
+ Sets the zone hook that is called just before Angular event turn starts.
+ It is called once per browser event.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 overrideOnTurnDone
+
+
+ pre.prettyprint
+ code.
+ overrideOnTurnDone(onTurnDoneFn: Function)
+
+ :markdown
+ Sets the zone hook that is called immediately after Angular processes
+ all pending microtasks.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 overrideOnEventDone
+
+
+ pre.prettyprint
+ code.
+ overrideOnEventDone(onEventDoneFn: Function, opt_waitForAsync?: boolean)
+
+ :markdown
+ Sets the zone hook that is called immediately after the last turn in
+ an event completes. At this point Angular will no longer attempt to
+ sync the UI. Any changes to the data model will not be reflected in the
+ DOM. `onEventDoneFn` is executed outside Angular zone.
+
+ This hook is useful for validating application state (e.g. in a test).
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 overrideOnErrorHandler
+
+
+ pre.prettyprint
+ code.
+ overrideOnErrorHandler(errorHandlingFn: Function)
+
+ :markdown
+ Sets the zone hook that is called when an error is uncaught in the
+ Angular zone. The first argument is the error. The second argument is
+ the stack trace.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 run
+
+
+ pre.prettyprint
+ code.
+ run(fn: () => any)
+
+ :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: NgZone = [ref to the application zone];
+
+ zone.run(() => {
+ // the change detection will run after this function and the microtasks it enqueues have
+ executed.
+ });
+ ```
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 runOutsideAngular
+
+
+ pre.prettyprint
+ code.
+ runOutsideAngular(fn: () => any)
+
+ :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: NgZone = [ref to the application zone];
+
+ zone.runOutsideAngular(() => {
+ element.onClick(() => {
+ // Clicking on the element would not trigger the change detection
+ });
+ });
+ ```
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NoAnnotationError-class.jade b/public/docs/js/latest/api/core/NoAnnotationError-class.jade
new file mode 100644
index 0000000000..3c01960736
--- /dev/null
+++ b/public/docs/js/latest/api/core/NoAnnotationError-class.jade
@@ -0,0 +1,63 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/exceptions.ts (line 140)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(typeOrFunc: any, params: any[][])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 name
+
+
+ :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/core/NoBindingError-class.jade b/public/docs/js/latest/api/core/NoBindingError-class.jade
new file mode 100644
index 0000000000..664809eae6
--- /dev/null
+++ b/public/docs/js/latest/api/core/NoBindingError-class.jade
@@ -0,0 +1,23 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/exceptions.ts (line 56)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(injector: Injector, key: Key)
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/NumberPipe-class.jade b/public/docs/js/latest/api/core/NumberPipe-class.jade
new file mode 100644
index 0000000000..9268dfc1be
--- /dev/null
+++ b/public/docs/js/latest/api/core/NumberPipe-class.jade
@@ -0,0 +1,17 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/pipes/number_pipe.ts (line 21)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
diff --git a/public/docs/js/latest/api/core/Observable-class.jade b/public/docs/js/latest/api/core/Observable-class.jade
new file mode 100644
index 0000000000..a3044a91b0
--- /dev/null
+++ b/public/docs/js/latest/api/core/Observable-class.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/facade/async.ts (line 85)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 observer
+
+
+ pre.prettyprint
+ code.
+ observer(generator: any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/OnChanges-class.jade b/public/docs/js/latest/api/core/OnChanges-class.jade
new file mode 100644
index 0000000000..f6c4312ab5
--- /dev/null
+++ b/public/docs/js/latest/api/core/OnChanges-class.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/interfaces.ts (line 1)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onChanges
+
+
+ pre.prettyprint
+ code.
+ onChanges(changes: StringMap<string, any>)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/OnDestroy-class.jade b/public/docs/js/latest/api/core/OnDestroy-class.jade
new file mode 100644
index 0000000000..77f4b88a9b
--- /dev/null
+++ b/public/docs/js/latest/api/core/OnDestroy-class.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/interfaces.ts (line 88)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onDestroy
+
+
+ pre.prettyprint
+ code.
+ onDestroy()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/OnInit-class.jade b/public/docs/js/latest/api/core/OnInit-class.jade
new file mode 100644
index 0000000000..cee5e32e3d
--- /dev/null
+++ b/public/docs/js/latest/api/core/OnInit-class.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/interfaces.ts (line 43)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onInit
+
+
+ pre.prettyprint
+ code.
+ onInit()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/OpaqueToken-class.jade b/public/docs/js/latest/api/core/OpaqueToken-class.jade
new file mode 100644
index 0000000000..54fca53192
--- /dev/null
+++ b/public/docs/js/latest/api/core/OpaqueToken-class.jade
@@ -0,0 +1,42 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/opaque_token.ts (line 1)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_desc: string)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Optional-var.jade b/public/docs/js/latest/api/core/Optional-var.jade
new file mode 100644
index 0000000000..3f5d8116bc
--- /dev/null
+++ b/public/docs/js/latest/api/core/Optional-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 67)
+
+ :markdown
+ Factory for creating
OptionalMetadata.
+
+
+
diff --git a/public/docs/js/latest/api/core/OptionalFactory-interface.jade b/public/docs/js/latest/api/core/OptionalFactory-interface.jade
new file mode 100644
index 0000000000..2b67ded97b
--- /dev/null
+++ b/public/docs/js/latest/api/core/OptionalFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 17)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/OptionalMetadata-class.jade b/public/docs/js/latest/api/core/OptionalMetadata-class.jade
new file mode 100644
index 0000000000..758c463a5c
--- /dev/null
+++ b/public/docs/js/latest/api/core/OptionalMetadata-class.jade
@@ -0,0 +1,27 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/metadata.ts (line 17)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/OutOfBoundsError-class.jade b/public/docs/js/latest/api/core/OutOfBoundsError-class.jade
new file mode 100644
index 0000000000..de29fd88f7
--- /dev/null
+++ b/public/docs/js/latest/api/core/OutOfBoundsError-class.jade
@@ -0,0 +1,51 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/exceptions.ts (line 168)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(index: any)
+
+ :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/core/PercentPipe-class.jade b/public/docs/js/latest/api/core/PercentPipe-class.jade
new file mode 100644
index 0000000000..c1df826f1c
--- /dev/null
+++ b/public/docs/js/latest/api/core/PercentPipe-class.jade
@@ -0,0 +1,41 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/pipes/number_pipe.ts (line 94)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Pipe
+ pre.prettyprint
+ code.
+ @Pipe({name: 'percent'})
+
+
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 transform
+
+
+ pre.prettyprint
+ code.
+ transform(value: any, args: any[])
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Pipe-var.jade b/public/docs/js/latest/api/core/Pipe-var.jade
new file mode 100644
index 0000000000..d7ed827d77
--- /dev/null
+++ b/public/docs/js/latest/api/core/Pipe-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 519)
+
+ :markdown
+
PipeMetadata factory function.
+
+
+
diff --git a/public/docs/js/latest/api/core/PipeFactory-interface.jade b/public/docs/js/latest/api/core/PipeFactory-interface.jade
new file mode 100644
index 0000000000..62a7bf1f11
--- /dev/null
+++ b/public/docs/js/latest/api/core/PipeFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 380)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/PipeMetadata-class.jade b/public/docs/js/latest/api/core/PipeMetadata-class.jade
new file mode 100644
index 0000000000..f035ae5062
--- /dev/null
+++ b/public/docs/js/latest/api/core/PipeMetadata-class.jade
@@ -0,0 +1,50 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata/directives.ts (line 845)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({name, pure}: {name: string, pure: boolean})
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 name
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 pure
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/PipeOnDestroy-interface.jade b/public/docs/js/latest/api/core/PipeOnDestroy-interface.jade
new file mode 100644
index 0000000000..b3dfbaf1b3
--- /dev/null
+++ b/public/docs/js/latest/api/core/PipeOnDestroy-interface.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/pipe_transform.ts (line 35)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onDestroy
+
+
+ pre.prettyprint
+ code.
+ onDestroy()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/PipeTransform-interface.jade b/public/docs/js/latest/api/core/PipeTransform-interface.jade
new file mode 100644
index 0000000000..6f2358678a
--- /dev/null
+++ b/public/docs/js/latest/api/core/PipeTransform-interface.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/pipe_transform.ts (line 1)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 transform
+
+
+ pre.prettyprint
+ code.
+ transform(value: any, args: any[])
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Predicate-interface.jade b/public/docs/js/latest/api/core/Predicate-interface.jade
new file mode 100644
index 0000000000..271430a501
--- /dev/null
+++ b/public/docs/js/latest/api/core/Predicate-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/facade/collection.ts (line 164)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/Property-var.jade b/public/docs/js/latest/api/core/Property-var.jade
new file mode 100644
index 0000000000..769b678012
--- /dev/null
+++ b/public/docs/js/latest/api/core/Property-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 524)
+
+ :markdown
+
PropertyMetadata factory function.
+
+
+
diff --git a/public/docs/js/latest/api/core/PropertyFactory-interface.jade b/public/docs/js/latest/api/core/PropertyFactory-interface.jade
new file mode 100644
index 0000000000..74748537d1
--- /dev/null
+++ b/public/docs/js/latest/api/core/PropertyFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 403)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/PropertyMetadata-class.jade b/public/docs/js/latest/api/core/PropertyMetadata-class.jade
new file mode 100644
index 0000000000..acf586c9a6
--- /dev/null
+++ b/public/docs/js/latest/api/core/PropertyMetadata-class.jade
@@ -0,0 +1,38 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata/directives.ts (line 873)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(bindingPropertyName?: string)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 bindingPropertyName
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ProtoInjector-class.jade b/public/docs/js/latest/api/core/ProtoInjector-class.jade
new file mode 100644
index 0000000000..ddd0773d39
--- /dev/null
+++ b/public/docs/js/latest/api/core/ProtoInjector-class.jade
@@ -0,0 +1,51 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/injector.ts (line 196)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(bwv: BindingWithVisibility[])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 numberOfBindings
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getBindingAtIndex
+
+
+ pre.prettyprint
+ code.
+ getBindingAtIndex(index: number)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ProtoViewRef-interface.jade b/public/docs/js/latest/api/core/ProtoViewRef-interface.jade
new file mode 100644
index 0000000000..654ad94a19
--- /dev/null
+++ b/public/docs/js/latest/api/core/ProtoViewRef-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/view_ref.ts (line 91)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/Query-var.jade b/public/docs/js/latest/api/core/Query-var.jade
new file mode 100644
index 0000000000..1309c40af8
--- /dev/null
+++ b/public/docs/js/latest/api/core/Query-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 508)
+
+ :markdown
+
QueryMetadata factory function.
+
+
+
diff --git a/public/docs/js/latest/api/core/QueryFactory-interface.jade b/public/docs/js/latest/api/core/QueryFactory-interface.jade
new file mode 100644
index 0000000000..9193f7c06a
--- /dev/null
+++ b/public/docs/js/latest/api/core/QueryFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 329)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/QueryList-class.jade b/public/docs/js/latest/api/core/QueryList-class.jade
new file mode 100644
index 0000000000..494f02ae6e
--- /dev/null
+++ b/public/docs/js/latest/api/core/QueryList-class.jade
@@ -0,0 +1,172 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/query_list.ts (line 1)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 reset
+
+
+ pre.prettyprint
+ code.
+ reset(newList: T[])
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 add
+
+
+ pre.prettyprint
+ code.
+ add(obj: T)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onChange
+
+
+ pre.prettyprint
+ code.
+ onChange(callback: () => void)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeCallback
+
+
+ pre.prettyprint
+ code.
+ removeCallback(callback: () => void)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 removeAllCallbacks
+
+
+ pre.prettyprint
+ code.
+ removeAllCallbacks()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 length
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 first
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 last
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 map
+
+
+ pre.prettyprint
+ code.
+ map(fn: (item: T) => U)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 fireCallbacks
+
+
+ pre.prettyprint
+ code.
+ fireCallbacks()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/QueryMetadata-class.jade b/public/docs/js/latest/api/core/QueryMetadata-class.jade
new file mode 100644
index 0000000000..c79a86d403
--- /dev/null
+++ b/public/docs/js/latest/api/core/QueryMetadata-class.jade
@@ -0,0 +1,102 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata/di.ts (line 50)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_selector: Type | string, {descendants = false}?: {descendants?: boolean})
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 descendants
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 isViewQuery
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 selector
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 isVarBindingQuery
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 varBindings
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/RecordViewTuple-class.jade b/public/docs/js/latest/api/core/RecordViewTuple-class.jade
new file mode 100644
index 0000000000..2414f52f15
--- /dev/null
+++ b/public/docs/js/latest/api/core/RecordViewTuple-class.jade
@@ -0,0 +1,47 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_for.ts (line 124)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(record: any, view: any)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 view
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 record
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/RenderDirectiveMetadata-class.jade b/public/docs/js/latest/api/core/RenderDirectiveMetadata-class.jade
new file mode 100644
index 0000000000..d0173fd09c
--- /dev/null
+++ b/public/docs/js/latest/api/core/RenderDirectiveMetadata-class.jade
@@ -0,0 +1,287 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 138)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({id, selector, compileChildren, events, hostListeners, hostProperties, hostAttributes,
+ properties, readAttributes, type, callOnDestroy, callOnChanges, callDoCheck,
+ callOnInit, callAfterContentInit, callAfterContentChecked, callAfterViewInit,
+ callAfterViewChecked, changeDetection, exportAs}: {
+ id?: string,
+ selector?: string,
+ compileChildren?: boolean,
+ events?: string[],
+ hostListeners?: Map<string, string>,
+ hostProperties?: Map<string, string>,
+ hostAttributes?: Map<string, string>,
+ properties?: string[],
+ readAttributes?: string[],
+ type?: number,
+ callOnDestroy?: boolean,
+ callOnChanges?: boolean,
+ callDoCheck?: boolean,
+ callOnInit?: boolean,
+ callAfterContentInit?: boolean,
+ callAfterContentChecked?: boolean,
+ callAfterViewInit?: boolean,
+ callAfterViewChecked?: boolean,
+ changeDetection?: ChangeDetectionStrategy,
+ exportAs?: string
+ })
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 id
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 selector
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 compileChildren
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 events
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 properties
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 readAttributes
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 type
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 callOnDestroy
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 callOnChanges
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 callDoCheck
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 callOnInit
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 callAfterContentInit
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 callAfterContentChecked
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 callAfterViewInit
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 callAfterViewChecked
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 changeDetection
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 exportAs
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 hostListeners
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 hostProperties
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 hostAttributes
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/RenderElementRef-interface.jade b/public/docs/js/latest/api/core/RenderElementRef-interface.jade
new file mode 100644
index 0000000000..6f92e40d99
--- /dev/null
+++ b/public/docs/js/latest/api/core/RenderElementRef-interface.jade
@@ -0,0 +1,36 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 434)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 renderView
+
+
+ :markdown
+ Reference to the `RenderViewRef` where the `RenderElementRef` is inside of.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 renderBoundElementIndex
+
+
+ :markdown
+ Index of the element inside the `RenderViewRef`.
+
+ This is used internally by the Angular framework to locate elements.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/RenderEventDispatcher-interface.jade b/public/docs/js/latest/api/core/RenderEventDispatcher-interface.jade
new file mode 100644
index 0000000000..536c9fcc86
--- /dev/null
+++ b/public/docs/js/latest/api/core/RenderEventDispatcher-interface.jade
@@ -0,0 +1,23 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 553)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 dispatchRenderEvent
+
+
+ pre.prettyprint
+ code.
+ dispatchRenderEvent(elementIndex: number, eventName: string, locals: Map<string, any>)
+
+ :markdown
+ Called when an event was triggered for a on-* attribute on an element.
+
+
+
+
diff --git a/public/docs/js/latest/api/core/RenderFragmentRef-class.jade b/public/docs/js/latest/api/core/RenderFragmentRef-class.jade
new file mode 100644
index 0000000000..774b4e36f2
--- /dev/null
+++ b/public/docs/js/latest/api/core/RenderFragmentRef-class.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 280)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/RenderProtoViewRef-class.jade b/public/docs/js/latest/api/core/RenderProtoViewRef-class.jade
new file mode 100644
index 0000000000..c1eb61fb5e
--- /dev/null
+++ b/public/docs/js/latest/api/core/RenderProtoViewRef-class.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 277)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/RenderViewRef-class.jade b/public/docs/js/latest/api/core/RenderViewRef-class.jade
new file mode 100644
index 0000000000..9d8a695241
--- /dev/null
+++ b/public/docs/js/latest/api/core/RenderViewRef-class.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 283)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/RenderViewWithFragments-class.jade b/public/docs/js/latest/api/core/RenderViewWithFragments-class.jade
new file mode 100644
index 0000000000..9d8d99764b
--- /dev/null
+++ b/public/docs/js/latest/api/core/RenderViewWithFragments-class.jade
@@ -0,0 +1,47 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 429)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(viewRef: RenderViewRef, fragmentRefs: RenderFragmentRef[])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 viewRef
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 fragmentRefs
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Renderer-class.jade b/public/docs/js/latest/api/core/Renderer-class.jade
new file mode 100644
index 0000000000..1c83dfba7b
--- /dev/null
+++ b/public/docs/js/latest/api/core/Renderer-class.jade
@@ -0,0 +1,286 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 452)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 createRootHostView
+
+
+ pre.prettyprint
+ code.
+ createRootHostView(hostProtoViewRef: RenderProtoViewRef, fragmentCount: number, hostElementSelector: string)
+
+ :markdown
+ Creates a root host view that includes the given element.
+ Note that the fragmentCount needs to be passed in so that we can create a result
+ synchronously even when dealing with webworkers!
+
+
+
+
+
+
+ .l-sub-section
+ h3 createView
+
+
+ pre.prettyprint
+ code.
+ createView(protoViewRef: RenderProtoViewRef, fragmentCount: number)
+
+ :markdown
+ Creates a regular view out of the given ProtoView.
+ Note that the fragmentCount needs to be passed in so that we can create a result
+ synchronously even when dealing with webworkers!
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 destroyView
+
+
+ pre.prettyprint
+ code.
+ destroyView(viewRef: RenderViewRef)
+
+ :markdown
+ Destroys the given view after it has been dehydrated and detached
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 attachFragmentAfterFragment
+
+
+ pre.prettyprint
+ code.
+ attachFragmentAfterFragment(previousFragmentRef: RenderFragmentRef, fragmentRef: RenderFragmentRef)
+
+ :markdown
+ Attaches a fragment after another fragment.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 attachFragmentAfterElement
+
+
+ pre.prettyprint
+ code.
+ attachFragmentAfterElement(elementRef: RenderElementRef, fragmentRef: RenderFragmentRef)
+
+ :markdown
+ Attaches a fragment after an element.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 detachFragment
+
+
+ pre.prettyprint
+ code.
+ detachFragment(fragmentRef: RenderFragmentRef)
+
+ :markdown
+ Detaches a fragment.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 hydrateView
+
+
+ pre.prettyprint
+ code.
+ hydrateView(viewRef: RenderViewRef)
+
+ :markdown
+ Hydrates a view after it has been attached. Hydration/dehydration is used for reusing views
+ inside of the view pool.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 dehydrateView
+
+
+ pre.prettyprint
+ code.
+ dehydrateView(viewRef: RenderViewRef)
+
+ :markdown
+ Dehydrates a view after it has been attached. Hydration/dehydration is used for reusing views
+ inside of the view pool.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getNativeElementSync
+
+
+ pre.prettyprint
+ code.
+ getNativeElementSync(location: RenderElementRef)
+
+ :markdown
+ Returns the native element at the given location.
+ Attention: In a WebWorker scenario, this should always return null!
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setElementProperty
+
+
+ pre.prettyprint
+ code.
+ setElementProperty(location: RenderElementRef, propertyName: string, propertyValue: any)
+
+ :markdown
+ Sets a property on an element.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setElementAttribute
+
+
+ pre.prettyprint
+ code.
+ setElementAttribute(location: RenderElementRef, attributeName: string, attributeValue: string)
+
+ :markdown
+ Sets an attribute on an element.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setElementClass
+
+
+ pre.prettyprint
+ code.
+ setElementClass(location: RenderElementRef, className: string, isAdd: boolean)
+
+ :markdown
+ Sets a class on an element.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setElementStyle
+
+
+ pre.prettyprint
+ code.
+ setElementStyle(location: RenderElementRef, styleName: string, styleValue: string)
+
+ :markdown
+ Sets a style on an element.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 invokeElementMethod
+
+
+ pre.prettyprint
+ code.
+ invokeElementMethod(location: RenderElementRef, methodName: string, args: any[])
+
+ :markdown
+ Calls a method on an element.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setText
+
+
+ pre.prettyprint
+ code.
+ setText(viewRef: RenderViewRef, textNodeIndex: number, text: string)
+
+ :markdown
+ Sets the value of a text node.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setEventDispatcher
+
+
+ pre.prettyprint
+ code.
+ setEventDispatcher(viewRef: RenderViewRef, dispatcher: RenderEventDispatcher)
+
+ :markdown
+ Sets the dispatcher for all events of the given view
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ResolvedBinding-class.jade b/public/docs/js/latest/api/core/ResolvedBinding-class.jade
new file mode 100644
index 0000000000..70a69fb21c
--- /dev/null
+++ b/public/docs/js/latest/api/core/ResolvedBinding-class.jade
@@ -0,0 +1,73 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/binding.ts (line 229)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(key: Key, resolvedFactories: ResolvedFactory[], multiBinding: boolean)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 key
+
+
+ :markdown
+ A key, usually a `Type`.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 resolvedFactories
+
+
+ :markdown
+ Factory function which can return an instance of an object represented by a key.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 multiBinding
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 resolvedFactory
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ResolvedFactory-class.jade b/public/docs/js/latest/api/core/ResolvedFactory-class.jade
new file mode 100644
index 0000000000..6805c58a19
--- /dev/null
+++ b/public/docs/js/latest/api/core/ResolvedFactory-class.jade
@@ -0,0 +1,49 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/binding.ts (line 252)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(factory: Function, dependencies: Dependency[])
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 factory
+
+
+ :markdown
+ Factory function which can return an instance of an object represented by a key.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 dependencies
+
+
+ :markdown
+ Arguments (dependencies) to the `factory` function.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Scope-class.jade b/public/docs/js/latest/api/core/Scope-class.jade
new file mode 100644
index 0000000000..a9d9dc0102
--- /dev/null
+++ b/public/docs/js/latest/api/core/Scope-class.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/debug/debug_element.ts (line 151)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/SelectControlValueAccessor-class.jade b/public/docs/js/latest/api/core/SelectControlValueAccessor-class.jade
new file mode 100644
index 0000000000..7395e1f0d6
--- /dev/null
+++ b/public/docs/js/latest/api/core/SelectControlValueAccessor-class.jade
@@ -0,0 +1,202 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/directives/select_control_value_accessor.ts (line 24)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({
+ selector: 'select[ng-control],select[ng-form-control],select[ng-model]',
+ host: {
+ '(change)': 'onChange($event.target.value)',
+ '(input)': 'onChange($event.target.value)',
+ '(blur)': 'onTouched()',
+ '[class.ng-untouched]': 'ngClassUntouched',
+ '[class.ng-touched]': 'ngClassTouched',
+ '[class.ng-pristine]': 'ngClassPristine',
+ '[class.ng-dirty]': 'ngClassDirty',
+ '[class.ng-valid]': 'ngClassValid',
+ '[class.ng-invalid]': 'ngClassInvalid'
+ }
+ })
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(cd: NgControl, _renderer: Renderer, _elementRef: ElementRef, query: QueryList<NgSelectOption>)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 value
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onChange
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onTouched
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 writeValue
+
+
+ pre.prettyprint
+ code.
+ writeValue(value: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngClassUntouched
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngClassTouched
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngClassPristine
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngClassDirty
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngClassValid
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ngClassInvalid
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 registerOnChange
+
+
+ pre.prettyprint
+ code.
+ registerOnChange(fn: () => any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 registerOnTouched
+
+
+ pre.prettyprint
+ code.
+ registerOnTouched(fn: () => any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Self-var.jade b/public/docs/js/latest/api/core/Self-var.jade
new file mode 100644
index 0000000000..c896022a20
--- /dev/null
+++ b/public/docs/js/latest/api/core/Self-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 77)
+
+ :markdown
+ Factory for creating
SelfMetadata.
+
+
+
diff --git a/public/docs/js/latest/api/core/SelfFactory-interface.jade b/public/docs/js/latest/api/core/SelfFactory-interface.jade
new file mode 100644
index 0000000000..940459c35a
--- /dev/null
+++ b/public/docs/js/latest/api/core/SelfFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 33)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/SelfMetadata-class.jade b/public/docs/js/latest/api/core/SelfMetadata-class.jade
new file mode 100644
index 0000000000..629d360725
--- /dev/null
+++ b/public/docs/js/latest/api/core/SelfMetadata-class.jade
@@ -0,0 +1,27 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/metadata.ts (line 83)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/SkipSelf-var.jade b/public/docs/js/latest/api/core/SkipSelf-var.jade
new file mode 100644
index 0000000000..b82798dc14
--- /dev/null
+++ b/public/docs/js/latest/api/core/SkipSelf-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 87)
+
+ :markdown
+ Factory for creating
SkipSelfMetadata.
+
+
+
diff --git a/public/docs/js/latest/api/core/SkipSelfFactory-interface.jade b/public/docs/js/latest/api/core/SkipSelfFactory-interface.jade
new file mode 100644
index 0000000000..a06c10d9c3
--- /dev/null
+++ b/public/docs/js/latest/api/core/SkipSelfFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/decorators.ts (line 49)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/SkipSelfMetadata-class.jade b/public/docs/js/latest/api/core/SkipSelfMetadata-class.jade
new file mode 100644
index 0000000000..f859444503
--- /dev/null
+++ b/public/docs/js/latest/api/core/SkipSelfMetadata-class.jade
@@ -0,0 +1,27 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/metadata.ts (line 106)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/SwitchView-class.jade b/public/docs/js/latest/api/core/SwitchView-class.jade
new file mode 100644
index 0000000000..beffc8f65f
--- /dev/null
+++ b/public/docs/js/latest/api/core/SwitchView-class.jade
@@ -0,0 +1,55 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/directives/ng_switch.ts (line 7)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_viewContainerRef: ViewContainerRef, _templateRef: TemplateRef)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 create
+
+
+ pre.prettyprint
+ code.
+ create()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 destroy
+
+
+ pre.prettyprint
+ code.
+ destroy()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/TemplateRef-class.jade b/public/docs/js/latest/api/core/TemplateRef-class.jade
new file mode 100644
index 0000000000..84fe826e7f
--- /dev/null
+++ b/public/docs/js/latest/api/core/TemplateRef-class.jade
@@ -0,0 +1,65 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/template_ref.ts (line 3)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(elementRef: ElementRef)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 elementRef
+
+
+ :markdown
+ The location of the template
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 protoViewRef
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 hasLocal
+
+
+ pre.prettyprint
+ code.
+ hasLocal(name: string)
+
+ :markdown
+ Whether this template has a local variable with the given name
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Type-interface.jade b/public/docs/js/latest/api/core/Type-interface.jade
new file mode 100644
index 0000000000..8e49208409
--- /dev/null
+++ b/public/docs/js/latest/api/core/Type-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/facade/lang.ts (line 23)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/TypeDecorator-interface.jade b/public/docs/js/latest/api/core/TypeDecorator-interface.jade
new file mode 100644
index 0000000000..aa7dcefdb0
--- /dev/null
+++ b/public/docs/js/latest/api/core/TypeDecorator-interface.jade
@@ -0,0 +1,40 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/util/decorators.ts (line 22)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 annotations
+
+
+ :markdown
+ Storage for the accumulated annotations so far used by the DSL syntax.
+
+ Used by
Class to annotate the generated class.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Class
+
+
+ pre.prettyprint
+ code.
+ Class(obj: ClassDefinition)
+
+ :markdown
+ Generate a class from the definition and annotate it with
TypeDecorator.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/TypeLiteral-class.jade b/public/docs/js/latest/api/core/TypeLiteral-class.jade
new file mode 100644
index 0000000000..fa65c0a752
--- /dev/null
+++ b/public/docs/js/latest/api/core/TypeLiteral-class.jade
@@ -0,0 +1,20 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/type_literal.ts (line 1)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 type
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/UNDEFINED-const.jade b/public/docs/js/latest/api/core/UNDEFINED-const.jade
new file mode 100644
index 0000000000..0a8a73b310
--- /dev/null
+++ b/public/docs/js/latest/api/core/UNDEFINED-const.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/injector.ts (line 28)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/core/UpperCasePipe-class.jade b/public/docs/js/latest/api/core/UpperCasePipe-class.jade
new file mode 100644
index 0000000000..5eb6ecddb6
--- /dev/null
+++ b/public/docs/js/latest/api/core/UpperCasePipe-class.jade
@@ -0,0 +1,41 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/pipes/uppercase_pipe.ts (line 5)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Pipe
+ pre.prettyprint
+ code.
+ @Pipe({name: 'uppercase'})
+
+
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 transform
+
+
+ pre.prettyprint
+ code.
+ transform(value: string, args?: any[])
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/UrlResolver-class.jade b/public/docs/js/latest/api/core/UrlResolver-class.jade
new file mode 100644
index 0000000000..189b715ea5
--- /dev/null
+++ b/public/docs/js/latest/api/core/UrlResolver-class.jade
@@ -0,0 +1,39 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/services/url_resolver.ts (line 4)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 resolve
+
+
+ pre.prettyprint
+ code.
+ resolve(baseUrl: string, url: string)
+
+ :markdown
+ Resolves the `url` given the `baseUrl`:
+ - when the `url` is null, the `baseUrl` is returned,
+ - if `url` is relative ('path/to/here', './path/to/here'), the resolved url is a combination of
+ `baseUrl` and `url`,
+ - if `url` is absolute (it has a scheme: 'http://', 'https://' or start with '/'), the `url` is
+ returned as is (ignoring the `baseUrl`)
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Validators-class.jade b/public/docs/js/latest/api/core/Validators-class.jade
new file mode 100644
index 0000000000..fac64650cb
--- /dev/null
+++ b/public/docs/js/latest/api/core/Validators-class.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/forms/validators.ts (line 8)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/View-var.jade b/public/docs/js/latest/api/core/View-var.jade
new file mode 100644
index 0000000000..498b77eb7e
--- /dev/null
+++ b/public/docs/js/latest/api/core/View-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 497)
+
+ :markdown
+
ViewMetadata factory function.
+
+
+
diff --git a/public/docs/js/latest/api/core/ViewContainerRef-interface.jade b/public/docs/js/latest/api/core/ViewContainerRef-interface.jade
new file mode 100644
index 0000000000..1e98b02d7d
--- /dev/null
+++ b/public/docs/js/latest/api/core/ViewContainerRef-interface.jade
@@ -0,0 +1,199 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/view_container_ref.ts (line 10)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 viewManager
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 element
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 clear
+
+
+ pre.prettyprint
+ code.
+ clear()
+
+ :markdown
+ Remove all
ViewRefs at current location.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(index: number)
+
+ :markdown
+ Return a
ViewRef at specific index.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 length
+
+
+ :markdown
+ Returns number of
ViewRefs currently attached at this location.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 createEmbeddedView
+
+
+ pre.prettyprint
+ code.
+ createEmbeddedView(templateRef: TemplateRef, atIndex?: number)
+
+ :markdown
+ Create and insert a
ViewRef into the view-container.
+
+ - `protoViewRef` (optional)
ProtoViewRef - The `ProtoView` to use for creating
+ `View` to be inserted at this location. If `ViewContainer` is created at a location
+ of inline template, then `protoViewRef` is the `ProtoView` of the template.
+ - `atIndex` (optional) `number` - location of insertion point. (Or at the end if unspecified.)
+ - `context` (optional)
ElementRef - Context (for expression evaluation) from the
+
ElementRef location. (Or current context if unspecified.)
+ - `bindings` (optional) Array of
ResolvedBinding - Used for configuring
+ `ElementInjector`.
+
+ Returns newly created
ViewRef.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 createHostView
+
+
+ pre.prettyprint
+ code.
+ createHostView(protoViewRef?: ProtoViewRef, atIndex?: number, dynamicallyCreatedBindings?: ResolvedBinding[])
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 insert
+
+
+ pre.prettyprint
+ code.
+ insert(viewRef: ViewRef, atIndex?: number)
+
+ :markdown
+ Insert a
ViewRef at specefic index.
+
+ The index is location at which the
ViewRef should be attached. If omitted it is
+ inserted at the end.
+
+ Returns the inserted
ViewRef.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 indexOf
+
+
+ pre.prettyprint
+ code.
+ indexOf(viewRef: ViewRef)
+
+ :markdown
+ Return the index of already inserted
ViewRef.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 remove
+
+
+ pre.prettyprint
+ code.
+ remove(atIndex?: number)
+
+ :markdown
+ Remove a
ViewRef at specific index.
+
+ If the index is omitted last
ViewRef is removed.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 detach
+
+
+ pre.prettyprint
+ code.
+ detach(atIndex?: number)
+
+ :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.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ViewDecorator-interface.jade b/public/docs/js/latest/api/core/ViewDecorator-interface.jade
new file mode 100644
index 0000000000..19ddaa9f8b
--- /dev/null
+++ b/public/docs/js/latest/api/core/ViewDecorator-interface.jade
@@ -0,0 +1,33 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 77)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 View
+
+
+ pre.prettyprint
+ code.
+ View(obj: {
+ templateUrl?: string,
+ template?: string,
+ directives?: Array<Type | any | any[]>,
+ pipes?: Array<Type | any | any[]>,
+ renderer?: string,
+ styles?: string[],
+ styleUrls?: string[],
+ })
+
+ :markdown
+ Chain
ViewMetadata annotation.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ViewDefinition-class.jade b/public/docs/js/latest/api/core/ViewDefinition-class.jade
new file mode 100644
index 0000000000..53f6fc0d00
--- /dev/null
+++ b/public/docs/js/latest/api/core/ViewDefinition-class.jade
@@ -0,0 +1,116 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 311)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({componentId, templateAbsUrl, template, styleAbsUrls, styles, directives,
+ encapsulation}?: {
+ componentId?: string,
+ templateAbsUrl?: string,
+ template?: string,
+ styleAbsUrls?: string[],
+ styles?: string[],
+ directives?: RenderDirectiveMetadata[],
+ encapsulation?: ViewEncapsulation
+ })
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 componentId
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 templateAbsUrl
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 template
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 directives
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 styleAbsUrls
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 styles
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 encapsulation
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ViewEncapsulation-enum.jade b/public/docs/js/latest/api/core/ViewEncapsulation-enum.jade
new file mode 100644
index 0000000000..94b35d219c
--- /dev/null
+++ b/public/docs/js/latest/api/core/ViewEncapsulation-enum.jade
@@ -0,0 +1,48 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/render/api.ts (line 286)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 Emulated
+
+
+ :markdown
+ Emulate scoping of styles by preprocessing the style rules
+ and adding additional attributes to elements. This is the default.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Native
+
+
+ :markdown
+ Uses the native mechanism of the renderer. For the DOM this means creating a ShadowRoot.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 None
+
+
+ :markdown
+ Don't scope the template nor the styles.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ViewFactory-interface.jade b/public/docs/js/latest/api/core/ViewFactory-interface.jade
new file mode 100644
index 0000000000..790437e48f
--- /dev/null
+++ b/public/docs/js/latest/api/core/ViewFactory-interface.jade
@@ -0,0 +1,7 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 216)
+
+:markdown
+ Starting point to import all public core APIs.
diff --git a/public/docs/js/latest/api/core/ViewMetadata-class.jade b/public/docs/js/latest/api/core/ViewMetadata-class.jade
new file mode 100644
index 0000000000..4bd4b8014a
--- /dev/null
+++ b/public/docs/js/latest/api/core/ViewMetadata-class.jade
@@ -0,0 +1,150 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata/view.ts (line 4)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({templateUrl, template, directives, pipes, encapsulation, styles, styleUrls}?: {
+ templateUrl?: string,
+ template?: string,
+ directives?: Array<Type | any | any[]>,
+ pipes?: Array<Type | any | any[]>,
+ encapsulation?: ViewEncapsulation,
+ styles?: string[],
+ styleUrls?: string[],
+ })
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 templateUrl
+
+
+ :markdown
+ Specifies a template URL for an angular component.
+
+ NOTE: either `templateUrl` or `template` should be used, but not both.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 template
+
+
+ :markdown
+ Specifies an inline template for an angular component.
+
+ NOTE: either `templateUrl` or `template` should be used, but not both.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 styleUrls
+
+
+ :markdown
+ Specifies stylesheet URLs for an angular component.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 styles
+
+
+ :markdown
+ Specifies an inline stylesheet for an angular component.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 directives
+
+
+ :markdown
+ Specifies a list of directives that can be used within a template.
+
+ Directives must be listed explicitly to provide proper component encapsulation.
+
+
+
+ ```javascript
+ @Component({
+ selector: 'my-component'
+ })
+ @View({
+ directives: [For]
+ template: '
+
'
+ })
+ class MyComponent {
+ }
+ ```
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 pipes
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 encapsulation
+
+
+ :markdown
+ Specify how the template and the styles should be encapsulated.
+ The default is
`ViewEncapsulation.Emulated` if the view
+ has styles,
+ otherwise
`ViewEncapsulation.None`.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ViewQuery-var.jade b/public/docs/js/latest/api/core/ViewQuery-var.jade
new file mode 100644
index 0000000000..a3c5ff4555
--- /dev/null
+++ b/public/docs/js/latest/api/core/ViewQuery-var.jade
@@ -0,0 +1,11 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata.ts (line 514)
+
+ :markdown
+
ViewQueryMetadata factory function.
+
+
+
diff --git a/public/docs/js/latest/api/core/ViewQueryMetadata-class.jade b/public/docs/js/latest/api/core/ViewQueryMetadata-class.jade
new file mode 100644
index 0000000000..8cbf0256e6
--- /dev/null
+++ b/public/docs/js/latest/api/core/ViewQueryMetadata-class.jade
@@ -0,0 +1,54 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/metadata/di.ts (line 75)
+
+:markdown
+ Starting point to import all public core APIs.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_selector: Type | string, {descendants = false}?: {descendants?: boolean})
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 isViewQuery
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/ViewRef-interface.jade b/public/docs/js/latest/api/core/ViewRef-interface.jade
new file mode 100644
index 0000000000..9e63135103
--- /dev/null
+++ b/public/docs/js/latest/api/core/ViewRef-interface.jade
@@ -0,0 +1,54 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/compiler/view_ref.ts (line 15)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 render
+
+
+ :markdown
+ Return `RenderViewRef`
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 renderFragment
+
+
+ :markdown
+ Return `RenderFragmentRef`
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setLocal
+
+
+ pre.prettyprint
+ code.
+ setLocal(contextName: string, value: any)
+
+ :markdown
+ Set local variable in a view.
+
+ - `contextName` - Name of the local variable in a view.
+ - `value` - Value for the local variable in a view.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/Visibility-enum.jade b/public/docs/js/latest/api/core/Visibility-enum.jade
new file mode 100644
index 0000000000..9053307dae
--- /dev/null
+++ b/public/docs/js/latest/api/core/Visibility-enum.jade
@@ -0,0 +1,47 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/injector.ts (line 28)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 Public
+
+
+ :markdown
+ A `Public`
Binding is only visible to regular (as opposed to host) child injectors.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Private
+
+
+ :markdown
+ A `Private`
Binding is only visible to host (as opposed to regular) child injectors.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 PublicAndPrivate
+
+
+ :markdown
+ A `PublicAndPrivate`
Binding is visible to both host and regular child injectors.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/WrappedException-class.jade b/public/docs/js/latest/api/core/WrappedException-class.jade
new file mode 100644
index 0000000000..0d55f8a614
--- /dev/null
+++ b/public/docs/js/latest/api/core/WrappedException-class.jade
@@ -0,0 +1,111 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/facade/exceptions.ts (line 15)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_wrapperMessage: string, _originalException: any, _originalStack?: any, _context?: any)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 wrapperMessage
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 wrapperStack
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 originalException
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 originalStack
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 context
+
+
+ :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/core/WrappedValue-class.jade b/public/docs/js/latest/api/core/WrappedValue-class.jade
new file mode 100644
index 0000000000..34ff70970c
--- /dev/null
+++ b/public/docs/js/latest/api/core/WrappedValue-class.jade
@@ -0,0 +1,35 @@
+
+p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/change_detection/change_detection_util.ts (line 9)
+
+:markdown
+ Starting point to import all public core APIs.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(wrapped: any)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 wrapped
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/core/_data.json b/public/docs/js/latest/api/core/_data.json
new file mode 100644
index 0000000000..4cae680105
--- /dev/null
+++ b/public/docs/js/latest/api/core/_data.json
@@ -0,0 +1,831 @@
+{
+ "index" : {
+ "title" : "Core",
+ "intro" : "Starting point to import all public core APIs."
+ },
+
+ "QueryMetadata-class" : {
+ "title" : "QueryMetadata"
+ },
+
+ "ViewQueryMetadata-class" : {
+ "title" : "ViewQueryMetadata"
+ },
+
+ "AttributeMetadata-class" : {
+ "title" : "AttributeMetadata"
+ },
+
+ "ComponentMetadata-class" : {
+ "title" : "ComponentMetadata"
+ },
+
+ "DirectiveMetadata-class" : {
+ "title" : "DirectiveMetadata"
+ },
+
+ "PipeMetadata-class" : {
+ "title" : "PipeMetadata"
+ },
+
+ "PropertyMetadata-class" : {
+ "title" : "PropertyMetadata"
+ },
+
+ "EventMetadata-class" : {
+ "title" : "EventMetadata"
+ },
+
+ "HostBindingMetadata-class" : {
+ "title" : "HostBindingMetadata"
+ },
+
+ "HostListenerMetadata-class" : {
+ "title" : "HostListenerMetadata"
+ },
+
+ "ViewMetadata-class" : {
+ "title" : "ViewMetadata"
+ },
+
+ "ViewEncapsulation-enum" : {
+ "title" : "ViewEncapsulation"
+ },
+
+ "DirectiveDecorator-interface" : {
+ "title" : "DirectiveDecorator"
+ },
+
+ "ComponentDecorator-interface" : {
+ "title" : "ComponentDecorator"
+ },
+
+ "ViewDecorator-interface" : {
+ "title" : "ViewDecorator"
+ },
+
+ "DirectiveFactory-interface" : {
+ "title" : "DirectiveFactory"
+ },
+
+ "ComponentFactory-interface" : {
+ "title" : "ComponentFactory"
+ },
+
+ "ViewFactory-interface" : {
+ "title" : "ViewFactory"
+ },
+
+ "AttributeFactory-interface" : {
+ "title" : "AttributeFactory"
+ },
+
+ "QueryFactory-interface" : {
+ "title" : "QueryFactory"
+ },
+
+ "PipeFactory-interface" : {
+ "title" : "PipeFactory"
+ },
+
+ "PropertyFactory-interface" : {
+ "title" : "PropertyFactory"
+ },
+
+ "EventFactory-interface" : {
+ "title" : "EventFactory"
+ },
+
+ "HostBindingFactory-interface" : {
+ "title" : "HostBindingFactory"
+ },
+
+ "HostListenerFactory-interface" : {
+ "title" : "HostListenerFactory"
+ },
+
+ "Component-var" : {
+ "title" : "Component",
+ "varType" : "ComponentFactory"
+ },
+
+ "Directive-var" : {
+ "title" : "Directive",
+ "varType" : "DirectiveFactory"
+ },
+
+ "View-var" : {
+ "title" : "View",
+ "varType" : "ViewFactory"
+ },
+
+ "Attribute-var" : {
+ "title" : "Attribute",
+ "varType" : "AttributeFactory"
+ },
+
+ "Query-var" : {
+ "title" : "Query",
+ "varType" : "QueryFactory"
+ },
+
+ "ViewQuery-var" : {
+ "title" : "ViewQuery",
+ "varType" : "QueryFactory"
+ },
+
+ "Pipe-var" : {
+ "title" : "Pipe",
+ "varType" : "PipeFactory"
+ },
+
+ "Property-var" : {
+ "title" : "Property",
+ "varType" : "PropertyFactory"
+ },
+
+ "Event-var" : {
+ "title" : "Event",
+ "varType" : "EventFactory"
+ },
+
+ "HostBinding-var" : {
+ "title" : "HostBinding",
+ "varType" : "HostBindingFactory"
+ },
+
+ "HostListener-var" : {
+ "title" : "HostListener",
+ "varType" : "HostListenerFactory"
+ },
+
+ "Class-function" : {
+ "title" : "Class"
+ },
+
+ "ClassDefinition-interface" : {
+ "title" : "ClassDefinition"
+ },
+
+ "TypeDecorator-interface" : {
+ "title" : "TypeDecorator"
+ },
+
+ "InjectMetadata-class" : {
+ "title" : "InjectMetadata"
+ },
+
+ "OptionalMetadata-class" : {
+ "title" : "OptionalMetadata"
+ },
+
+ "InjectableMetadata-class" : {
+ "title" : "InjectableMetadata"
+ },
+
+ "SelfMetadata-class" : {
+ "title" : "SelfMetadata"
+ },
+
+ "HostMetadata-class" : {
+ "title" : "HostMetadata"
+ },
+
+ "SkipSelfMetadata-class" : {
+ "title" : "SkipSelfMetadata"
+ },
+
+ "DependencyMetadata-class" : {
+ "title" : "DependencyMetadata"
+ },
+
+ "forwardRef-function" : {
+ "title" : "forwardRef"
+ },
+
+ "resolveForwardRef-function" : {
+ "title" : "resolveForwardRef"
+ },
+
+ "ForwardRefFn-interface" : {
+ "title" : "ForwardRefFn"
+ },
+
+ "Injector-class" : {
+ "title" : "Injector"
+ },
+
+ "ProtoInjector-class" : {
+ "title" : "ProtoInjector"
+ },
+
+ "BindingWithVisibility-class" : {
+ "title" : "BindingWithVisibility"
+ },
+
+ "DependencyProvider-interface" : {
+ "title" : "DependencyProvider"
+ },
+
+ "Visibility-enum" : {
+ "title" : "Visibility"
+ },
+
+ "UNDEFINED-const" : {
+ "title" : "UNDEFINED",
+ "varType" : "Object"
+ },
+
+ "Binding-class" : {
+ "title" : "Binding"
+ },
+
+ "BindingBuilder-class" : {
+ "title" : "BindingBuilder"
+ },
+
+ "ResolvedBinding-class" : {
+ "title" : "ResolvedBinding"
+ },
+
+ "ResolvedFactory-class" : {
+ "title" : "ResolvedFactory"
+ },
+
+ "Dependency-class" : {
+ "title" : "Dependency"
+ },
+
+ "bind-function" : {
+ "title" : "bind"
+ },
+
+ "Key-class" : {
+ "title" : "Key"
+ },
+
+ "KeyRegistry-class" : {
+ "title" : "KeyRegistry"
+ },
+
+ "TypeLiteral-class" : {
+ "title" : "TypeLiteral"
+ },
+
+ "NoBindingError-class" : {
+ "title" : "NoBindingError"
+ },
+
+ "AbstractBindingError-class" : {
+ "title" : "AbstractBindingError"
+ },
+
+ "CyclicDependencyError-class" : {
+ "title" : "CyclicDependencyError"
+ },
+
+ "InstantiationError-class" : {
+ "title" : "InstantiationError"
+ },
+
+ "InvalidBindingError-class" : {
+ "title" : "InvalidBindingError"
+ },
+
+ "NoAnnotationError-class" : {
+ "title" : "NoAnnotationError"
+ },
+
+ "OutOfBoundsError-class" : {
+ "title" : "OutOfBoundsError"
+ },
+
+ "OpaqueToken-class" : {
+ "title" : "OpaqueToken"
+ },
+
+ "InjectFactory-interface" : {
+ "title" : "InjectFactory"
+ },
+
+ "OptionalFactory-interface" : {
+ "title" : "OptionalFactory"
+ },
+
+ "InjectableFactory-interface" : {
+ "title" : "InjectableFactory"
+ },
+
+ "SelfFactory-interface" : {
+ "title" : "SelfFactory"
+ },
+
+ "HostFactory-interface" : {
+ "title" : "HostFactory"
+ },
+
+ "SkipSelfFactory-interface" : {
+ "title" : "SkipSelfFactory"
+ },
+
+ "Inject-var" : {
+ "title" : "Inject",
+ "varType" : "InjectFactory"
+ },
+
+ "Optional-var" : {
+ "title" : "Optional",
+ "varType" : "OptionalFactory"
+ },
+
+ "Injectable-var" : {
+ "title" : "Injectable",
+ "varType" : "InjectableFactory"
+ },
+
+ "Self-var" : {
+ "title" : "Self",
+ "varType" : "SelfFactory"
+ },
+
+ "Host-var" : {
+ "title" : "Host",
+ "varType" : "HostFactory"
+ },
+
+ "SkipSelf-var" : {
+ "title" : "SkipSelf",
+ "varType" : "SkipSelfFactory"
+ },
+
+ "AsyncPipe-class" : {
+ "title" : "AsyncPipe"
+ },
+
+ "DatePipe-class" : {
+ "title" : "DatePipe"
+ },
+
+ "DEFAULT_PIPES-const" : {
+ "title" : "DEFAULT_PIPES",
+ "varType" : "Binding"
+ },
+
+ "DEFAULT_PIPES_TOKEN-const" : {
+ "title" : "DEFAULT_PIPES_TOKEN",
+ "varType" : "OpaqueToken"
+ },
+
+ "JsonPipe-class" : {
+ "title" : "JsonPipe"
+ },
+
+ "LimitToPipe-class" : {
+ "title" : "LimitToPipe"
+ },
+
+ "LowerCasePipe-class" : {
+ "title" : "LowerCasePipe"
+ },
+
+ "NumberPipe-class" : {
+ "title" : "NumberPipe"
+ },
+
+ "DecimalPipe-class" : {
+ "title" : "DecimalPipe"
+ },
+
+ "PercentPipe-class" : {
+ "title" : "PercentPipe"
+ },
+
+ "CurrencyPipe-class" : {
+ "title" : "CurrencyPipe"
+ },
+
+ "UpperCasePipe-class" : {
+ "title" : "UpperCasePipe"
+ },
+
+ "Type-interface" : {
+ "title" : "Type"
+ },
+
+ "Observable-class" : {
+ "title" : "Observable"
+ },
+
+ "EventEmitter-class" : {
+ "title" : "EventEmitter"
+ },
+
+ "Predicate-interface" : {
+ "title" : "Predicate"
+ },
+
+ "WrappedException-class" : {
+ "title" : "WrappedException"
+ },
+
+ "ApplicationRef-interface" : {
+ "title" : "ApplicationRef"
+ },
+
+ "APP_COMPONENT-const" : {
+ "title" : "APP_COMPONENT",
+ "varType" : "OpaqueToken"
+ },
+
+ "bootstrap-function" : {
+ "title" : "bootstrap"
+ },
+
+ "AppRootUrl-class" : {
+ "title" : "AppRootUrl"
+ },
+
+ "UrlResolver-class" : {
+ "title" : "UrlResolver"
+ },
+
+ "AfterContentInit-class" : {
+ "title" : "AfterContentInit"
+ },
+
+ "AfterContentChecked-class" : {
+ "title" : "AfterContentChecked"
+ },
+
+ "AfterViewInit-class" : {
+ "title" : "AfterViewInit"
+ },
+
+ "AfterViewChecked-class" : {
+ "title" : "AfterViewChecked"
+ },
+
+ "OnChanges-class" : {
+ "title" : "OnChanges"
+ },
+
+ "OnDestroy-class" : {
+ "title" : "OnDestroy"
+ },
+
+ "OnInit-class" : {
+ "title" : "OnInit"
+ },
+
+ "DoCheck-class" : {
+ "title" : "DoCheck"
+ },
+
+ "ComponentUrlMapper-class" : {
+ "title" : "ComponentUrlMapper"
+ },
+
+ "DirectiveResolver-class" : {
+ "title" : "DirectiveResolver"
+ },
+
+ "Compiler-interface" : {
+ "title" : "Compiler"
+ },
+
+ "AppViewManager-interface" : {
+ "title" : "AppViewManager"
+ },
+
+ "QueryList-class" : {
+ "title" : "QueryList"
+ },
+
+ "DynamicComponentLoader-class" : {
+ "title" : "DynamicComponentLoader"
+ },
+
+ "ElementRef-class" : {
+ "title" : "ElementRef"
+ },
+
+ "TemplateRef-class" : {
+ "title" : "TemplateRef"
+ },
+
+ "ViewRef-interface" : {
+ "title" : "ViewRef"
+ },
+
+ "HostViewRef-interface" : {
+ "title" : "HostViewRef"
+ },
+
+ "ProtoViewRef-interface" : {
+ "title" : "ProtoViewRef"
+ },
+
+ "ViewContainerRef-interface" : {
+ "title" : "ViewContainerRef"
+ },
+
+ "ComponentRef-interface" : {
+ "title" : "ComponentRef"
+ },
+
+ "LifeCycle-class" : {
+ "title" : "LifeCycle"
+ },
+
+ "NgZone-class" : {
+ "title" : "NgZone"
+ },
+
+ "RenderDirectiveMetadata-class" : {
+ "title" : "RenderDirectiveMetadata"
+ },
+
+ "DomRenderer-interface" : {
+ "title" : "DomRenderer"
+ },
+
+ "RenderEventDispatcher-interface" : {
+ "title" : "RenderEventDispatcher"
+ },
+
+ "Renderer-class" : {
+ "title" : "Renderer"
+ },
+
+ "RenderElementRef-interface" : {
+ "title" : "RenderElementRef"
+ },
+
+ "RenderViewRef-class" : {
+ "title" : "RenderViewRef"
+ },
+
+ "RenderProtoViewRef-class" : {
+ "title" : "RenderProtoViewRef"
+ },
+
+ "RenderFragmentRef-class" : {
+ "title" : "RenderFragmentRef"
+ },
+
+ "RenderViewWithFragments-class" : {
+ "title" : "RenderViewWithFragments"
+ },
+
+ "ViewDefinition-class" : {
+ "title" : "ViewDefinition"
+ },
+
+ "DOCUMENT-const" : {
+ "title" : "DOCUMENT",
+ "varType" : "OpaqueToken"
+ },
+
+ "APP_ID-const" : {
+ "title" : "APP_ID",
+ "varType" : "OpaqueToken"
+ },
+
+ "MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE-const" : {
+ "title" : "MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE",
+ "varType" : "OpaqueToken"
+ },
+
+ "CORE_DIRECTIVES-const" : {
+ "title" : "CORE_DIRECTIVES"
+ },
+
+ "NgClass-class" : {
+ "title" : "NgClass"
+ },
+
+ "NgFor-class" : {
+ "title" : "NgFor"
+ },
+
+ "RecordViewTuple-class" : {
+ "title" : "RecordViewTuple"
+ },
+
+ "NgIf-class" : {
+ "title" : "NgIf"
+ },
+
+ "NgNonBindable-class" : {
+ "title" : "NgNonBindable"
+ },
+
+ "NgStyle-class" : {
+ "title" : "NgStyle"
+ },
+
+ "SwitchView-class" : {
+ "title" : "SwitchView"
+ },
+
+ "NgSwitch-class" : {
+ "title" : "NgSwitch"
+ },
+
+ "NgSwitchWhen-class" : {
+ "title" : "NgSwitchWhen"
+ },
+
+ "NgSwitchDefault-class" : {
+ "title" : "NgSwitchDefault"
+ },
+
+ "AbstractControl-class" : {
+ "title" : "AbstractControl"
+ },
+
+ "Control-class" : {
+ "title" : "Control"
+ },
+
+ "ControlGroup-class" : {
+ "title" : "ControlGroup"
+ },
+
+ "ControlArray-class" : {
+ "title" : "ControlArray"
+ },
+
+ "AbstractControlDirective-class" : {
+ "title" : "AbstractControlDirective"
+ },
+
+ "Form-interface" : {
+ "title" : "Form"
+ },
+
+ "ControlContainer-class" : {
+ "title" : "ControlContainer"
+ },
+
+ "NgControlName-class" : {
+ "title" : "NgControlName"
+ },
+
+ "NgFormControl-class" : {
+ "title" : "NgFormControl"
+ },
+
+ "NgModel-class" : {
+ "title" : "NgModel"
+ },
+
+ "NgControl-class" : {
+ "title" : "NgControl"
+ },
+
+ "NgControlGroup-class" : {
+ "title" : "NgControlGroup"
+ },
+
+ "NgFormModel-class" : {
+ "title" : "NgFormModel"
+ },
+
+ "NgForm-class" : {
+ "title" : "NgForm"
+ },
+
+ "ControlValueAccessor-interface" : {
+ "title" : "ControlValueAccessor"
+ },
+
+ "DefaultValueAccessor-class" : {
+ "title" : "DefaultValueAccessor"
+ },
+
+ "CheckboxControlValueAccessor-class" : {
+ "title" : "CheckboxControlValueAccessor"
+ },
+
+ "NgSelectOption-class" : {
+ "title" : "NgSelectOption"
+ },
+
+ "SelectControlValueAccessor-class" : {
+ "title" : "SelectControlValueAccessor"
+ },
+
+ "FORM_DIRECTIVES-const" : {
+ "title" : "FORM_DIRECTIVES"
+ },
+
+ "NG_VALIDATORS-const" : {
+ "title" : "NG_VALIDATORS",
+ "varType" : "OpaqueToken"
+ },
+
+ "Validators-class" : {
+ "title" : "Validators"
+ },
+
+ "DefaultValidators-class" : {
+ "title" : "DefaultValidators"
+ },
+
+ "FormBuilder-class" : {
+ "title" : "FormBuilder"
+ },
+
+ "FORM_BINDINGS-const" : {
+ "title" : "FORM_BINDINGS"
+ },
+
+ "inspectNativeElement-function" : {
+ "title" : "inspectNativeElement"
+ },
+
+ "ELEMENT_PROBE_BINDINGS-const" : {
+ "title" : "ELEMENT_PROBE_BINDINGS"
+ },
+
+ "DebugElement-interface" : {
+ "title" : "DebugElement"
+ },
+
+ "inspectElement-function" : {
+ "title" : "inspectElement"
+ },
+
+ "asNativeElements-function" : {
+ "title" : "asNativeElements"
+ },
+
+ "Scope-class" : {
+ "title" : "Scope"
+ },
+
+ "By-class" : {
+ "title" : "By"
+ },
+
+ "ChangeDetectionStrategy-enum" : {
+ "title" : "ChangeDetectionStrategy"
+ },
+
+ "ExpressionChangedAfterItHasBeenCheckedException-class" : {
+ "title" : "ExpressionChangedAfterItHasBeenCheckedException"
+ },
+
+ "ChangeDetectionError-class" : {
+ "title" : "ChangeDetectionError"
+ },
+
+ "ChangeDetector-interface" : {
+ "title" : "ChangeDetector"
+ },
+
+ "Locals-class" : {
+ "title" : "Locals"
+ },
+
+ "ChangeDetectorRef-interface" : {
+ "title" : "ChangeDetectorRef"
+ },
+
+ "WrappedValue-class" : {
+ "title" : "WrappedValue"
+ },
+
+ "PipeTransform-interface" : {
+ "title" : "PipeTransform"
+ },
+
+ "PipeOnDestroy-interface" : {
+ "title" : "PipeOnDestroy"
+ },
+
+ "IterableDiffers-class" : {
+ "title" : "IterableDiffers"
+ },
+
+ "IterableDiffer-interface" : {
+ "title" : "IterableDiffer"
+ },
+
+ "IterableDifferFactory-interface" : {
+ "title" : "IterableDifferFactory"
+ },
+
+ "KeyValueDiffers-class" : {
+ "title" : "KeyValueDiffers"
+ },
+
+ "KeyValueDiffer-interface" : {
+ "title" : "KeyValueDiffer"
+ },
+
+ "KeyValueDifferFactory-interface" : {
+ "title" : "KeyValueDifferFactory"
+ }
+}
diff --git a/public/docs/js/latest/api/core/asNativeElements-function.jade b/public/docs/js/latest/api/core/asNativeElements-function.jade
new file mode 100644
index 0000000000..6468c92ce1
--- /dev/null
+++ b/public/docs/js/latest/api/core/asNativeElements-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") asNativeElements
+
+
+ pre.prettyprint
+ code.
+ asNativeElements(arr: DebugElement[]) : any[]
+
+
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/debug/debug_element.ts (line 147)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/core/bind-function.jade b/public/docs/js/latest/api/core/bind-function.jade
new file mode 100644
index 0000000000..2183ae03b0
--- /dev/null
+++ b/public/docs/js/latest/api/core/bind-function.jade
@@ -0,0 +1,52 @@
+
+.l-main-section
+ h2(class="function export") bind
+
+
+ pre.prettyprint
+ code.
+ bind(token: any) : BindingBuilder
+
+
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/binding.ts (line 265)
+
+ :markdown
+ Provides an API for imperatively constructing
Bindings.
+
+ To construct a
Binding, bind a `token` to either a class, a value or a factory function.
+ See
BindingBuilder for more details.
+
+ The `token` is most commonly an
OpaqueToken or a class.
+
+ `bind` is only relevant for JavaScript. For Dart use the
Binding constructor.
+
+ ## Example
+
+ ```typescript
+ // inj.get(MyClass) would instantiate MyClass
+ bind(MyClass).toClass(MyClass);
+
+ // inj.get(MyClass) === 'my class'
+ bind(MyClass).toValue('my class');
+
+ // inj.get(MyClass) would instantiate the depenency and call the factory function with the
+ // instance
+ bind(MyClass).toFactory(dep => new MyClass(dep), [DepClass]);
+
+ // inj.get(MyOtherClass) === inj.get(MyClass)
+ bind(MyOtherClass).toAlias(MyClass);
+ ```
+
+ ```dart
+ var binding = new Binding(MyClass, toClass: MyClass);
+ var binding = new Binding(MyClass, toValue: 'my class');
+ var binding = new Binding(MyClass, toFactory: (dep) => new MyClass(dep),
+ dependencies: [DepClass]);
+ var binding = new Binding(MyOtherClass, toAlias: MyClass);
+ ```
+
+
+
+
diff --git a/public/docs/js/latest/api/core/bootstrap-function.jade b/public/docs/js/latest/api/core/bootstrap-function.jade
new file mode 100644
index 0000000000..a3463e72c7
--- /dev/null
+++ b/public/docs/js/latest/api/core/bootstrap-function.jade
@@ -0,0 +1,143 @@
+
+.l-main-section
+ h2(class="function export") bootstrap
+
+
+ pre.prettyprint
+ code.
+ bootstrap(appComponentType: /*Type*/ any, componentInjectableBindings?: Array<Type | Binding | any[]>) : Promise<ApplicationRef>
+
+
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/application_common.ts (line 170)
+
+ :markdown
+ Bootstrapping for Angular applications.
+
+ You instantiate an Angular application by explicitly specifying a component to use as the root
+ component for your
+ application via the `bootstrap()` method.
+
+ ## Simple Example
+
+ Assuming this `index.html`:
+
+ ```html
+
+
+
+
loading...
+
+
+ ```
+
+ An application is bootstrapped inside an existing browser DOM, typically `index.html`. Unlike
+ Angular 1, Angular 2
+ does not compile/process bindings in `index.html`. This is mainly for security reasons, as well
+ as architectural
+ changes in Angular 2. This means that `index.html` can safely be processed using server-side
+ technologies such as
+ bindings. Bindings can thus use double-curly `{{ syntax }}` without collision from Angular 2
+ component double-curly
+ `{{ syntax }}`.
+
+ We can use this script code:
+
+ ```
+ @Component({
+ selector: 'my-app'
+ })
+ @View({
+ template: 'Hello {{ name }}!'
+ })
+ class MyApp {
+ name:string;
+
+ constructor() {
+ this.name = 'World';
+ }
+ }
+
+ main() {
+ return bootstrap(MyApp);
+ }
+ ```
+
+ When the app developer invokes `bootstrap()` with the root component `MyApp` as its argument,
+ Angular performs the
+ following tasks:
+
+ 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 platform injector). 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.
+ 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.
+
+
+ ## Instantiating Multiple Applications on a Single Page
+
+ There are two ways to do this.
+
+
+ ### Isolated Applications
+
+ 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
+ section, "Applications That Share Change Detection."
+
+
+ ### Applications That Share Change Detection
+
+ If you need to bootstrap multiple applications that share common data, the applications must
+ share a common
+ change detection and zone. To do that, create a meta-component that lists the application
+ components in its template.
+ By only invoking the `bootstrap()` method once, with the meta-component as its argument, you
+ ensure that only a
+ single change detection zone is created and therefore data can be shared across the applications.
+
+
+ ## 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 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`
+ which is annotated with `@Component(...)`.
+ - `componentInjectableBindings`: An additional set of bindings that can be added to the app
+ injector
+ to override default injection behavior.
+ - `errorReporter`: `function(exception:any, stackTrace:string)` a default error reporter for
+ unhandled exceptions.
+
+ Returns a `Promise` of
ApplicationRef.
+
+
+
+
diff --git a/public/docs/js/latest/api/core/forwardRef-function.jade b/public/docs/js/latest/api/core/forwardRef-function.jade
new file mode 100644
index 0000000000..01a0f4e056
--- /dev/null
+++ b/public/docs/js/latest/api/core/forwardRef-function.jade
@@ -0,0 +1,41 @@
+
+.l-main-section
+ h2(class="function export") forwardRef
+
+
+ pre.prettyprint
+ code.
+ forwardRef(forwardRefFn: ForwardRefFn) : Type
+
+
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/forward_ref.ts (line 3)
+
+ :markdown
+ Allows to refer to references which are not yet defined.
+
+ This situation arises when the key which we need to refer to for the purposes of DI is declared,
+ but not yet defined.
+
+ ## Example:
+
+ ```
+ class Door {
+ // Incorrect way to refer to a reference which is defined later.
+ // This fails because `Lock` is undefined at this point.
+ constructor(lock:Lock) { }
+
+ // Correct way to refer to a reference which is defined later.
+ // The reference needs to be captured in a closure.
+ constructor(@Inject(forwardRef(() => Lock)) lock:Lock) { }
+ }
+
+ // Only at this point the lock is defined.
+ class Lock {
+ }
+ ```
+
+
+
+
diff --git a/public/docs/js/latest/api/core/index.jade b/public/docs/js/latest/api/core/index.jade
new file mode 100644
index 0000000000..76126e8eb6
--- /dev/null
+++ b/public/docs/js/latest/api/core/index.jade
@@ -0,0 +1,11 @@
+p.location-badge.
+ defined in
angular2/core.ts (line 1)
+
+ul
+ for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
+ if slug != 'index'
+ - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
+
+ li.c8
+ != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
+
diff --git a/public/docs/js/latest/api/core/inspectElement-function.jade b/public/docs/js/latest/api/core/inspectElement-function.jade
new file mode 100644
index 0000000000..857f772fc5
--- /dev/null
+++ b/public/docs/js/latest/api/core/inspectElement-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") inspectElement
+
+
+ pre.prettyprint
+ code.
+ inspectElement(elementRef: ElementRef) : DebugElement
+
+
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/debug/debug_element.ts (line 137)
+
+ :markdown
+ Returns a DebugElement for a ElementRef.
+
+
+
diff --git a/public/docs/js/latest/api/core/inspectNativeElement-function.jade b/public/docs/js/latest/api/core/inspectNativeElement-function.jade
new file mode 100644
index 0000000000..bec9edb06a
--- /dev/null
+++ b/public/docs/js/latest/api/core/inspectNativeElement-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") inspectNativeElement
+
+
+ pre.prettyprint
+ code.
+ inspectNativeElement(element: any) : DebugElement
+
+
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/debug/debug_element_view_listener.ts (line 35)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/core/resolveForwardRef-function.jade b/public/docs/js/latest/api/core/resolveForwardRef-function.jade
new file mode 100644
index 0000000000..5b1a3165c9
--- /dev/null
+++ b/public/docs/js/latest/api/core/resolveForwardRef-function.jade
@@ -0,0 +1,22 @@
+
+.l-main-section
+ h2(class="function export") resolveForwardRef
+
+
+ pre.prettyprint
+ code.
+ resolveForwardRef(type: any) : any
+
+
+ p.location-badge.
+ exported from
angular2/core
+ defined in
angular2/src/core/di/forward_ref.ts (line 33)
+
+ :markdown
+ Lazily retrieve the reference value.
+
+ See:
forwardRef
+
+
+
+
diff --git a/public/docs/js/latest/api/http/BaseRequestOptions-class.jade b/public/docs/js/latest/api/http/BaseRequestOptions-class.jade
new file mode 100644
index 0000000000..7b4ecd5543
--- /dev/null
+++ b/public/docs/js/latest/api/http/BaseRequestOptions-class.jade
@@ -0,0 +1,34 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/base_request_options.ts (line 72)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/BaseResponseOptions-class.jade b/public/docs/js/latest/api/http/BaseResponseOptions-class.jade
new file mode 100644
index 0000000000..10ef60efbb
--- /dev/null
+++ b/public/docs/js/latest/api/http/BaseResponseOptions-class.jade
@@ -0,0 +1,106 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/base_response_options.ts (line 44)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 body
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 status
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 headers
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 statusText
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 type
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 url
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/BrowserXhr-class.jade b/public/docs/js/latest/api/http/BrowserXhr-class.jade
new file mode 100644
index 0000000000..71243b712a
--- /dev/null
+++ b/public/docs/js/latest/api/http/BrowserXhr-class.jade
@@ -0,0 +1,50 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/backends/browser_xhr.ts (line 1)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 build
+
+
+ pre.prettyprint
+ code.
+ build()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/Connection-class.jade b/public/docs/js/latest/api/http/Connection-class.jade
new file mode 100644
index 0000000000..d2ecfa531a
--- /dev/null
+++ b/public/docs/js/latest/api/http/Connection-class.jade
@@ -0,0 +1,61 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/interfaces.ts (line 29)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 readyState
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 request
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 response
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 dispose
+
+
+ pre.prettyprint
+ code.
+ dispose()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/ConnectionBackend-class.jade b/public/docs/js/latest/api/http/ConnectionBackend-class.jade
new file mode 100644
index 0000000000..43e73ab517
--- /dev/null
+++ b/public/docs/js/latest/api/http/ConnectionBackend-class.jade
@@ -0,0 +1,40 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/interfaces.ts (line 18)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 createConnection
+
+
+ pre.prettyprint
+ code.
+ createConnection(request: any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/HTTP_BINDINGS-const.jade b/public/docs/js/latest/api/http/HTTP_BINDINGS-const.jade
new file mode 100644
index 0000000000..a00fbc7dff
--- /dev/null
+++ b/public/docs/js/latest/api/http/HTTP_BINDINGS-const.jade
@@ -0,0 +1,24 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/http.ts (line 64)
+
+ :markdown
+ Provides a basic set of injectables to use the
Http service in any application.
+
+ #Example
+
+ ```
+ import {HTTP_BINDINGS, Http} from 'http/http';
+ @Component({selector: 'http-app', viewBindings: [HTTP_BINDINGS]})
+ @View({template: '{{data}}'})
+ class MyApp {
+ constructor(http:Http) {
+ http.request('data.txt').subscribe(res => this.data = res.text());
+ }
+ }
+ ```
+
+
+
diff --git a/public/docs/js/latest/api/http/Headers-class.jade b/public/docs/js/latest/api/http/Headers-class.jade
new file mode 100644
index 0000000000..a10ca24f4d
--- /dev/null
+++ b/public/docs/js/latest/api/http/Headers-class.jade
@@ -0,0 +1,193 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/headers.ts (line 9)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(headers?: Headers | StringMap<string, any>)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 append
+
+
+ pre.prettyprint
+ code.
+ append(name: string, value: string)
+
+ :markdown
+ Appends a header to existing list of header values for a given header name.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 delete
+
+
+ pre.prettyprint
+ code.
+ delete(name: string)
+
+ :markdown
+ Deletes all header values for the given name.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 forEach
+
+
+ pre.prettyprint
+ code.
+ forEach(fn: Function)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(header: string)
+
+ :markdown
+ Returns first header that matches given name.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 has
+
+
+ pre.prettyprint
+ code.
+ has(header: string)
+
+ :markdown
+ Check for existence of header by given name.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 keys
+
+
+ pre.prettyprint
+ code.
+ keys()
+
+ :markdown
+ Provides names of set headers
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 set
+
+
+ pre.prettyprint
+ code.
+ set(header: string, value: string | string[])
+
+ :markdown
+ Sets or overrides header value for given name.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 values
+
+
+ pre.prettyprint
+ code.
+ values()
+
+ :markdown
+ Returns values of all headers.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getAll
+
+
+ pre.prettyprint
+ code.
+ getAll(header: string)
+
+ :markdown
+ Returns list of header values for a given name.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 entries
+
+
+ pre.prettyprint
+ code.
+ entries()
+
+ :markdown
+ This method is not implemented.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/Http-class.jade b/public/docs/js/latest/api/http/Http-class.jade
new file mode 100644
index 0000000000..087f3b12b9
--- /dev/null
+++ b/public/docs/js/latest/api/http/Http-class.jade
@@ -0,0 +1,156 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/http.ts (line 34)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_backend: ConnectionBackend, _defaultOptions: RequestOptions)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 request
+
+
+ pre.prettyprint
+ code.
+ request(url: string | Request, options?: RequestOptionsArgs)
+
+ :markdown
+ Performs any type of http request. First argument is required, and can either be a url or
+ a
Request instance. If the first argument is a url, an optional
RequestOptions
+ object can be provided as the 2nd argument. The options object will be merged with the values
+ of
BaseRequestOptions before performing the request.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(url: string, options?: RequestOptionsArgs)
+
+ :markdown
+ Performs a request with `get` http method.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 post
+
+
+ pre.prettyprint
+ code.
+ post(url: string, body: string, options?: RequestOptionsArgs)
+
+ :markdown
+ Performs a request with `post` http method.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 put
+
+
+ pre.prettyprint
+ code.
+ put(url: string, body: string, options?: RequestOptionsArgs)
+
+ :markdown
+ Performs a request with `put` http method.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 delete
+
+
+ pre.prettyprint
+ code.
+ delete(url: string, options?: RequestOptionsArgs)
+
+ :markdown
+ Performs a request with `delete` http method.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 patch
+
+
+ pre.prettyprint
+ code.
+ patch(url: string, body: string, options?: RequestOptionsArgs)
+
+ :markdown
+ Performs a request with `patch` http method.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 head
+
+
+ pre.prettyprint
+ code.
+ head(url: string, options?: RequestOptionsArgs)
+
+ :markdown
+ Performs a request with `head` http method.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/JSONPBackend-interface.jade b/public/docs/js/latest/api/http/JSONPBackend-interface.jade
new file mode 100644
index 0000000000..adde66a508
--- /dev/null
+++ b/public/docs/js/latest/api/http/JSONPBackend-interface.jade
@@ -0,0 +1,35 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/backends/jsonp_backend.ts (line 93)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 createConnection
+
+
+ pre.prettyprint
+ code.
+ createConnection(request: Request)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/JSONPConnection-interface.jade b/public/docs/js/latest/api/http/JSONPConnection-interface.jade
new file mode 100644
index 0000000000..6db4a133ac
--- /dev/null
+++ b/public/docs/js/latest/api/http/JSONPConnection-interface.jade
@@ -0,0 +1,89 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/backends/jsonp_backend.ts (line 10)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 readyState
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 request
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 response
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 baseResponseOptions
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 finished
+
+
+ pre.prettyprint
+ code.
+ finished(data?: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 dispose
+
+
+ pre.prettyprint
+ code.
+ dispose()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/JSONP_BINDINGS-const.jade b/public/docs/js/latest/api/http/JSONP_BINDINGS-const.jade
new file mode 100644
index 0000000000..f677ff4ff4
--- /dev/null
+++ b/public/docs/js/latest/api/http/JSONP_BINDINGS-const.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/http.ts (line 76)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/http/Jsonp-class.jade b/public/docs/js/latest/api/http/Jsonp-class.jade
new file mode 100644
index 0000000000..9b74072a9e
--- /dev/null
+++ b/public/docs/js/latest/api/http/Jsonp-class.jade
@@ -0,0 +1,54 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/http.ts (line 180)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(backend: ConnectionBackend, defaultOptions: RequestOptions)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 request
+
+
+ pre.prettyprint
+ code.
+ request(url: string | Request, options?: RequestOptionsArgs)
+
+ :markdown
+ Performs any type of http request. First argument is required, and can either be a url or
+ a
Request instance. If the first argument is a url, an optional
RequestOptions
+ object can be provided as the 2nd argument. The options object will be merged with the values
+ of
BaseRequestOptions before performing the request.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/MockBackend-class.jade b/public/docs/js/latest/api/http/MockBackend-class.jade
new file mode 100644
index 0000000000..b29647005a
--- /dev/null
+++ b/public/docs/js/latest/api/http/MockBackend-class.jade
@@ -0,0 +1,169 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/backends/mock_backend.ts (line 98)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 connections
+
+
+ :markdown
+
EventEmitter
+ of
MockConnection instances that have been created by this backend. Can be subscribed
+ to in order to respond to connections.
+
+ #Example
+
+ ```
+ import {MockBackend, Http, BaseRequestOptions} from 'angular2/http';
+ import {Injector} from 'angular2/core';
+
+ it('should get a response', () => {
+ var connection; //this will be set when a new connection is emitted from the backend.
+ var text; //this will be set from mock response
+ var injector = Injector.resolveAndCreate([
+ MockBackend,
+ bind(Http).toFactory(backend, options) {
+ return new Http(backend, options);
+ }, [MockBackend, BaseRequestOptions]]);
+ var backend = injector.get(MockBackend);
+ var http = injector.get(Http);
+ backend.connections.toRx().subscribe(c => connection = c);
+ http.request('something.json').toRx().subscribe(res => {
+ text = res.text();
+ });
+ connection.mockRespond(new Response({body: 'Something'}));
+ expect(text).toBe('Something');
+ });
+ ```
+
+ This property only exists in the mock implementation, not in real Backends.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 connectionsArray
+
+
+ :markdown
+ An array representation of `connections`. This array will be updated with each connection that
+ is created by this backend.
+
+ This property only exists in the mock implementation, not in real Backends.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 pendingConnections
+
+
+ :markdown
+
EventEmitter of
MockConnection instances that haven't yet been resolved (i.e.
+ with a `readyState`
+ less than 4). Used internally to verify that no connections are pending via the
+ `verifyNoPendingRequests` method.
+
+ This property only exists in the mock implementation, not in real Backends.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 verifyNoPendingRequests
+
+
+ pre.prettyprint
+ code.
+ verifyNoPendingRequests()
+
+ :markdown
+ Checks all connections, and raises an exception if any connection has not received a response.
+
+ This method only exists in the mock implementation, not in real Backends.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 resolveAllConnections
+
+
+ pre.prettyprint
+ code.
+ resolveAllConnections()
+
+ :markdown
+ Can be used in conjunction with `verifyNoPendingRequests` to resolve any not-yet-resolve
+ connections, if it's expected that there are connections that have not yet received a response.
+
+ This method only exists in the mock implementation, not in real Backends.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 createConnection
+
+
+ pre.prettyprint
+ code.
+ createConnection(req: Request)
+
+ :markdown
+ Creates a new
MockConnection. This is equivalent to calling `new
+ MockConnection()`, except that it also will emit the new `Connection` to the `connections`
+ emitter of this `MockBackend` instance. This method will usually only be used by tests
+ against the framework itself, not by end-users.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/MockConnection-class.jade b/public/docs/js/latest/api/http/MockConnection-class.jade
new file mode 100644
index 0000000000..b72abf4878
--- /dev/null
+++ b/public/docs/js/latest/api/http/MockConnection-class.jade
@@ -0,0 +1,148 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/backends/mock_backend.ts (line 8)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(req: Request)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 readyState
+
+
+ :markdown
+ Describes the state of the connection, based on `XMLHttpRequest.readyState`, but with
+ additional states. For example, state 5 indicates an aborted connection.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 request
+
+
+ :markdown
+
Request instance used to create the connection.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 response
+
+
+ :markdown
+
EventEmitter of
Response. Can be subscribed to in order to be notified when a
+ response is available.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 dispose
+
+
+ pre.prettyprint
+ code.
+ dispose()
+
+ :markdown
+ Changes the `readyState` of the connection to a custom state of 5 (cancelled).
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 mockRespond
+
+
+ pre.prettyprint
+ code.
+ mockRespond(res: Response)
+
+ :markdown
+ Sends a mock response to the connection. This response is the value that is emitted to the
+
EventEmitter returned by
Http.
+
+ #Example
+
+ ```
+ var connection;
+ backend.connections.toRx().subscribe(c => connection = c);
+ http.request('data.json').toRx().subscribe(res => console.log(res.text()));
+ connection.mockRespond(new Response('fake response')); //logs 'fake response'
+ ```
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 mockDownload
+
+
+ pre.prettyprint
+ code.
+ mockDownload(res: Response)
+
+ :markdown
+ Not yet implemented!
+
+ Sends the provided
Response to the `downloadObserver` of the `Request`
+ associated with this connection.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 mockError
+
+
+ pre.prettyprint
+ code.
+ mockError(err?: Error)
+
+ :markdown
+ Emits the provided error object as an error to the
Response EventEmitter
+ returned
+ from
Http.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/ReadyStates-enum.jade b/public/docs/js/latest/api/http/ReadyStates-enum.jade
new file mode 100644
index 0000000000..3ca624deb0
--- /dev/null
+++ b/public/docs/js/latest/api/http/ReadyStates-enum.jade
@@ -0,0 +1,81 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/enums.ts (line 47)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 Unsent
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Open
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 HeadersReceived
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Loading
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Done
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Cancelled
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/Request-class.jade b/public/docs/js/latest/api/http/Request-class.jade
new file mode 100644
index 0000000000..adede55415
--- /dev/null
+++ b/public/docs/js/latest/api/http/Request-class.jade
@@ -0,0 +1,121 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/static_request.ts (line 10)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(requestOptions: RequestOptions)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 method
+
+
+ :markdown
+ Http method with which to perform the request.
+
+ Defaults to GET.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 mode
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 credentials
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 headers
+
+
+ :markdown
+ Headers object based on the `Headers` class in the [Fetch
+ Spec](https://fetch.spec.whatwg.org/#headers-class).
Headers class reference.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 url
+
+
+ :markdown
+ Url of the remote resource
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 cache
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 text
+
+
+ pre.prettyprint
+ code.
+ text()
+
+ :markdown
+ Returns the request's body as string, assuming that body exists. If body is undefined, return
+ empty
+ string.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/RequestCacheOpts-enum.jade b/public/docs/js/latest/api/http/RequestCacheOpts-enum.jade
new file mode 100644
index 0000000000..917165608f
--- /dev/null
+++ b/public/docs/js/latest/api/http/RequestCacheOpts-enum.jade
@@ -0,0 +1,81 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/enums.ts (line 11)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 Default
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 NoStore
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Reload
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 NoCache
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ForceCache
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 OnlyIfCached
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/RequestCredentialsOpts-enum.jade b/public/docs/js/latest/api/http/RequestCredentialsOpts-enum.jade
new file mode 100644
index 0000000000..7794b23915
--- /dev/null
+++ b/public/docs/js/latest/api/http/RequestCredentialsOpts-enum.jade
@@ -0,0 +1,45 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/enums.ts (line 24)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 Omit
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 SameOrigin
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Include
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/RequestMethods-enum.jade b/public/docs/js/latest/api/http/RequestMethods-enum.jade
new file mode 100644
index 0000000000..7b55f480d0
--- /dev/null
+++ b/public/docs/js/latest/api/http/RequestMethods-enum.jade
@@ -0,0 +1,93 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/enums.ts (line 34)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 Get
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Post
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Put
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Delete
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Options
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Head
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Patch
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/RequestModesOpts-enum.jade b/public/docs/js/latest/api/http/RequestModesOpts-enum.jade
new file mode 100644
index 0000000000..d5799f81b0
--- /dev/null
+++ b/public/docs/js/latest/api/http/RequestModesOpts-enum.jade
@@ -0,0 +1,45 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/enums.ts (line 1)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 Cors
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 NoCors
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 SameOrigin
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/RequestOptions-class.jade b/public/docs/js/latest/api/http/RequestOptions-class.jade
new file mode 100644
index 0000000000..160f2faacd
--- /dev/null
+++ b/public/docs/js/latest/api/http/RequestOptions-class.jade
@@ -0,0 +1,145 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/base_request_options.ts (line 6)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({method, headers, body, mode, credentials, cache, url, search}?:
+ RequestOptionsArgs)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 method
+
+
+ :markdown
+ Http method with which to execute the request.
+
+ Defaults to "GET".
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 headers
+
+
+ :markdown
+ Headers object based on the `Headers` class in the [Fetch
+ Spec](https://fetch.spec.whatwg.org/#headers-class).
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 body
+
+
+ :markdown
+ Body to be used when creating the request.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 mode
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 credentials
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 cache
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 url
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 search
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 merge
+
+
+ pre.prettyprint
+ code.
+ merge(options?: RequestOptionsArgs)
+
+ :markdown
+ Creates a copy of the `RequestOptions` instance, using the optional input as values to override
+ existing values.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/RequestOptionsArgs-interface.jade b/public/docs/js/latest/api/http/RequestOptionsArgs-interface.jade
new file mode 100644
index 0000000000..8a3ded000a
--- /dev/null
+++ b/public/docs/js/latest/api/http/RequestOptionsArgs-interface.jade
@@ -0,0 +1,105 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/interfaces.ts (line 39)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 url?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 method?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 search?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 headers?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 body?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 mode?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 credentials?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 cache?
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/Response-class.jade b/public/docs/js/latest/api/http/Response-class.jade
new file mode 100644
index 0000000000..832e3fec88
--- /dev/null
+++ b/public/docs/js/latest/api/http/Response-class.jade
@@ -0,0 +1,211 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/static_response.ts (line 6)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(responseOptions: ResponseOptions)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 type
+
+
+ :markdown
+ One of "basic", "cors", "default", "error, or "opaque".
+
+ Defaults to "default".
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 ok
+
+
+ :markdown
+ True if the response's status is within 200-299
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 url
+
+
+ :markdown
+ URL of response.
+
+ Defaults to empty string.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 status
+
+
+ :markdown
+ Status code returned by server.
+
+ Defaults to 200.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 statusText
+
+
+ :markdown
+ Text representing the corresponding reason phrase to the `status`, as defined in [ietf rfc 2616
+ section 6.1.1](https://tools.ietf.org/html/rfc2616#section-6.1.1)
+
+ Defaults to "OK"
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 bytesLoaded
+
+
+ :markdown
+ Non-standard property
+
+ Denotes how many of the response body's bytes have been loaded, for example if the response is
+ the result of a progress event.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 totalBytes
+
+
+ :markdown
+ Non-standard property
+
+ Denotes how many bytes are expected in the final response body.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 headers
+
+
+ :markdown
+ Headers object based on the `Headers` class in the [Fetch
+ Spec](https://fetch.spec.whatwg.org/#headers-class).
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 blob
+
+
+ pre.prettyprint
+ code.
+ blob()
+
+ :markdown
+ Not yet implemented
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 json
+
+
+ pre.prettyprint
+ code.
+ json()
+
+ :markdown
+ Attempts to return body as parsed `JSON` object, or raises an exception.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 text
+
+
+ pre.prettyprint
+ code.
+ text()
+
+ :markdown
+ Returns the body as a string, presuming `toString()` can be called on the response body.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 arrayBuffer
+
+
+ pre.prettyprint
+ code.
+ arrayBuffer()
+
+ :markdown
+ Not yet implemented
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/ResponseOptions-class.jade b/public/docs/js/latest/api/http/ResponseOptions-class.jade
new file mode 100644
index 0000000000..10e18d0461
--- /dev/null
+++ b/public/docs/js/latest/api/http/ResponseOptions-class.jade
@@ -0,0 +1,112 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/base_response_options.ts (line 5)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({body, status, headers, statusText, type, url}?: ResponseOptionsArgs)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 body
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 status
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 headers
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 statusText
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 type
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 url
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 merge
+
+
+ pre.prettyprint
+ code.
+ merge(options?: ResponseOptionsArgs)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/ResponseOptionsArgs-interface.jade b/public/docs/js/latest/api/http/ResponseOptionsArgs-interface.jade
new file mode 100644
index 0000000000..3a87b779e6
--- /dev/null
+++ b/public/docs/js/latest/api/http/ResponseOptionsArgs-interface.jade
@@ -0,0 +1,81 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/interfaces.ts (line 57)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 body?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 status?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 statusText?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 headers?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 type?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 url?
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/ResponseTypes-enum.jade b/public/docs/js/latest/api/http/ResponseTypes-enum.jade
new file mode 100644
index 0000000000..8b2b663b4e
--- /dev/null
+++ b/public/docs/js/latest/api/http/ResponseTypes-enum.jade
@@ -0,0 +1,69 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/enums.ts (line 61)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 Basic
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Cors
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Default
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Error
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 Opaque
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/URLSearchParams-class.jade b/public/docs/js/latest/api/http/URLSearchParams-class.jade
new file mode 100644
index 0000000000..499e5ff51e
--- /dev/null
+++ b/public/docs/js/latest/api/http/URLSearchParams-class.jade
@@ -0,0 +1,224 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/url_search_params.ts (line 26)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(rawParams?: string)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 paramsMap
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 rawParams
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 clone
+
+
+ pre.prettyprint
+ code.
+ clone()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 has
+
+
+ pre.prettyprint
+ code.
+ has(param: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(param: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getAll
+
+
+ pre.prettyprint
+ code.
+ getAll(param: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 set
+
+
+ pre.prettyprint
+ code.
+ set(param: string, val: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 setAll
+
+
+ pre.prettyprint
+ code.
+ setAll(searchParams: URLSearchParams)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 append
+
+
+ pre.prettyprint
+ code.
+ append(param: string, val: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 appendAll
+
+
+ pre.prettyprint
+ code.
+ appendAll(searchParams: URLSearchParams)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 replaceAll
+
+
+ pre.prettyprint
+ code.
+ replaceAll(searchParams: URLSearchParams)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 delete
+
+
+ pre.prettyprint
+ code.
+ delete(param: string)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/XHRBackend-class.jade b/public/docs/js/latest/api/http/XHRBackend-class.jade
new file mode 100644
index 0000000000..6613e78135
--- /dev/null
+++ b/public/docs/js/latest/api/http/XHRBackend-class.jade
@@ -0,0 +1,50 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/backends/xhr_backend.ts (line 80)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_browserXHR: BrowserXhr, _baseResponseOptions: ResponseOptions)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 createConnection
+
+
+ pre.prettyprint
+ code.
+ createConnection(request: Request)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/XHRConnection-class.jade b/public/docs/js/latest/api/http/XHRConnection-class.jade
new file mode 100644
index 0000000000..a6ced91ba7
--- /dev/null
+++ b/public/docs/js/latest/api/http/XHRConnection-class.jade
@@ -0,0 +1,79 @@
+
+p.location-badge.
+ exported from
angular2/http
+ defined in
angular2/src/http/backends/xhr_backend.ts (line 9)
+
+:markdown
+ The http module provides services to perform http requests. To get started, see the
Http
+ class.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(req: Request, browserXHR: BrowserXhr, baseResponseOptions?: ResponseOptions)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 request
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 response
+
+
+ :markdown
+ Response
EventEmitter which emits a single
Response value on load event of
+ `XMLHttpRequest`.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 readyState
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 dispose
+
+
+ pre.prettyprint
+ code.
+ dispose()
+
+ :markdown
+ Calls abort on the underlying XMLHttpRequest.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/http/_data.json b/public/docs/js/latest/api/http/_data.json
new file mode 100644
index 0000000000..a1adb4574e
--- /dev/null
+++ b/public/docs/js/latest/api/http/_data.json
@@ -0,0 +1,122 @@
+{
+ "index" : {
+ "title" : "Http",
+ "intro" : "The http module provides services to perform http requests. To get started, see the
Http class."
+ },
+
+ "MockConnection-class" : {
+ "title" : "MockConnection"
+ },
+
+ "MockBackend-class" : {
+ "title" : "MockBackend"
+ },
+
+ "Request-class" : {
+ "title" : "Request"
+ },
+
+ "Response-class" : {
+ "title" : "Response"
+ },
+
+ "RequestOptionsArgs-interface" : {
+ "title" : "RequestOptionsArgs"
+ },
+
+ "ResponseOptionsArgs-interface" : {
+ "title" : "ResponseOptionsArgs"
+ },
+
+ "Connection-class" : {
+ "title" : "Connection"
+ },
+
+ "ConnectionBackend-class" : {
+ "title" : "ConnectionBackend"
+ },
+
+ "BrowserXhr-class" : {
+ "title" : "BrowserXhr"
+ },
+
+ "BaseRequestOptions-class" : {
+ "title" : "BaseRequestOptions"
+ },
+
+ "RequestOptions-class" : {
+ "title" : "RequestOptions"
+ },
+
+ "BaseResponseOptions-class" : {
+ "title" : "BaseResponseOptions"
+ },
+
+ "ResponseOptions-class" : {
+ "title" : "ResponseOptions"
+ },
+
+ "XHRBackend-class" : {
+ "title" : "XHRBackend"
+ },
+
+ "XHRConnection-class" : {
+ "title" : "XHRConnection"
+ },
+
+ "JSONPBackend-interface" : {
+ "title" : "JSONPBackend"
+ },
+
+ "JSONPConnection-interface" : {
+ "title" : "JSONPConnection"
+ },
+
+ "Http-class" : {
+ "title" : "Http"
+ },
+
+ "Jsonp-class" : {
+ "title" : "Jsonp"
+ },
+
+ "Headers-class" : {
+ "title" : "Headers"
+ },
+
+ "ResponseTypes-enum" : {
+ "title" : "ResponseTypes"
+ },
+
+ "ReadyStates-enum" : {
+ "title" : "ReadyStates"
+ },
+
+ "RequestMethods-enum" : {
+ "title" : "RequestMethods"
+ },
+
+ "RequestCredentialsOpts-enum" : {
+ "title" : "RequestCredentialsOpts"
+ },
+
+ "RequestCacheOpts-enum" : {
+ "title" : "RequestCacheOpts"
+ },
+
+ "RequestModesOpts-enum" : {
+ "title" : "RequestModesOpts"
+ },
+
+ "URLSearchParams-class" : {
+ "title" : "URLSearchParams"
+ },
+
+ "HTTP_BINDINGS-const" : {
+ "title" : "HTTP_BINDINGS"
+ },
+
+ "JSONP_BINDINGS-const" : {
+ "title" : "JSONP_BINDINGS"
+ }
+}
diff --git a/public/docs/js/latest/api/http/index.jade b/public/docs/js/latest/api/http/index.jade
new file mode 100644
index 0000000000..8f6081ae22
--- /dev/null
+++ b/public/docs/js/latest/api/http/index.jade
@@ -0,0 +1,11 @@
+p.location-badge.
+ defined in
angular2/http.ts (line 1)
+
+ul
+ for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
+ if slug != 'index'
+ - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
+
+ li.c8
+ != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
+
diff --git a/public/docs/js/latest/api/lifecycle_hooks/AfterContentChecked-class.jade b/public/docs/js/latest/api/lifecycle_hooks/AfterContentChecked-class.jade
new file mode 100644
index 0000000000..02ccb91b6a
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/AfterContentChecked-class.jade
@@ -0,0 +1,25 @@
+
+p.location-badge.
+ exported from
angular2/lifecycle_hooks
+ defined in
angular2/src/core/compiler/interfaces.ts (line 124)
+
+:markdown
+ Defines interfaces to be implemented by directives when they need to hook into the change
+ detection mechanism.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 afterContentChecked
+
+
+ pre.prettyprint
+ code.
+ afterContentChecked()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/lifecycle_hooks/AfterContentInit-class.jade b/public/docs/js/latest/api/lifecycle_hooks/AfterContentInit-class.jade
new file mode 100644
index 0000000000..278b38623b
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/AfterContentInit-class.jade
@@ -0,0 +1,25 @@
+
+p.location-badge.
+ exported from
angular2/lifecycle_hooks
+ defined in
angular2/src/core/compiler/interfaces.ts (line 106)
+
+:markdown
+ Defines interfaces to be implemented by directives when they need to hook into the change
+ detection mechanism.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 afterContentInit
+
+
+ pre.prettyprint
+ code.
+ afterContentInit()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/lifecycle_hooks/AfterViewChecked-class.jade b/public/docs/js/latest/api/lifecycle_hooks/AfterViewChecked-class.jade
new file mode 100644
index 0000000000..7c9fab1074
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/AfterViewChecked-class.jade
@@ -0,0 +1,25 @@
+
+p.location-badge.
+ exported from
angular2/lifecycle_hooks
+ defined in
angular2/src/core/compiler/interfaces.ts (line 160)
+
+:markdown
+ Defines interfaces to be implemented by directives when they need to hook into the change
+ detection mechanism.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 afterViewChecked
+
+
+ pre.prettyprint
+ code.
+ afterViewChecked()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/lifecycle_hooks/AfterViewInit-class.jade b/public/docs/js/latest/api/lifecycle_hooks/AfterViewInit-class.jade
new file mode 100644
index 0000000000..0ed501e78e
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/AfterViewInit-class.jade
@@ -0,0 +1,25 @@
+
+p.location-badge.
+ exported from
angular2/lifecycle_hooks
+ defined in
angular2/src/core/compiler/interfaces.ts (line 142)
+
+:markdown
+ Defines interfaces to be implemented by directives when they need to hook into the change
+ detection mechanism.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 afterViewInit
+
+
+ pre.prettyprint
+ code.
+ afterViewInit()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/lifecycle_hooks/DoCheck-class.jade b/public/docs/js/latest/api/lifecycle_hooks/DoCheck-class.jade
new file mode 100644
index 0000000000..6b2e56c112
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/DoCheck-class.jade
@@ -0,0 +1,25 @@
+
+p.location-badge.
+ exported from
angular2/lifecycle_hooks
+ defined in
angular2/src/core/compiler/interfaces.ts (line 65)
+
+:markdown
+ Defines interfaces to be implemented by directives when they need to hook into the change
+ detection mechanism.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 doCheck
+
+
+ pre.prettyprint
+ code.
+ doCheck()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/lifecycle_hooks/OnChanges-class.jade b/public/docs/js/latest/api/lifecycle_hooks/OnChanges-class.jade
new file mode 100644
index 0000000000..0f1fe33875
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/OnChanges-class.jade
@@ -0,0 +1,25 @@
+
+p.location-badge.
+ exported from
angular2/lifecycle_hooks
+ defined in
angular2/src/core/compiler/interfaces.ts (line 1)
+
+:markdown
+ Defines interfaces to be implemented by directives when they need to hook into the change
+ detection mechanism.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onChanges
+
+
+ pre.prettyprint
+ code.
+ onChanges(changes: StringMap<string, any>)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/lifecycle_hooks/OnDestroy-class.jade b/public/docs/js/latest/api/lifecycle_hooks/OnDestroy-class.jade
new file mode 100644
index 0000000000..9af01f5ba6
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/OnDestroy-class.jade
@@ -0,0 +1,25 @@
+
+p.location-badge.
+ exported from
angular2/lifecycle_hooks
+ defined in
angular2/src/core/compiler/interfaces.ts (line 88)
+
+:markdown
+ Defines interfaces to be implemented by directives when they need to hook into the change
+ detection mechanism.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onDestroy
+
+
+ pre.prettyprint
+ code.
+ onDestroy()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/lifecycle_hooks/OnInit-class.jade b/public/docs/js/latest/api/lifecycle_hooks/OnInit-class.jade
new file mode 100644
index 0000000000..54dbcafdc5
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/OnInit-class.jade
@@ -0,0 +1,25 @@
+
+p.location-badge.
+ exported from
angular2/lifecycle_hooks
+ defined in
angular2/src/core/compiler/interfaces.ts (line 43)
+
+:markdown
+ Defines interfaces to be implemented by directives when they need to hook into the change
+ detection mechanism.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onInit
+
+
+ pre.prettyprint
+ code.
+ onInit()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/lifecycle_hooks/_data.json b/public/docs/js/latest/api/lifecycle_hooks/_data.json
new file mode 100644
index 0000000000..860905fe69
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/_data.json
@@ -0,0 +1,38 @@
+{
+ "index" : {
+ "title" : "Lifecycle Hooks",
+ "intro" : "Defines interfaces to be implemented by directives when they need to hook into the change detection mechanism."
+ },
+
+ "AfterContentInit-class" : {
+ "title" : "AfterContentInit"
+ },
+
+ "AfterContentChecked-class" : {
+ "title" : "AfterContentChecked"
+ },
+
+ "AfterViewInit-class" : {
+ "title" : "AfterViewInit"
+ },
+
+ "AfterViewChecked-class" : {
+ "title" : "AfterViewChecked"
+ },
+
+ "OnChanges-class" : {
+ "title" : "OnChanges"
+ },
+
+ "OnDestroy-class" : {
+ "title" : "OnDestroy"
+ },
+
+ "OnInit-class" : {
+ "title" : "OnInit"
+ },
+
+ "DoCheck-class" : {
+ "title" : "DoCheck"
+ }
+}
diff --git a/public/docs/js/latest/api/lifecycle_hooks/index.jade b/public/docs/js/latest/api/lifecycle_hooks/index.jade
new file mode 100644
index 0000000000..147b18ab67
--- /dev/null
+++ b/public/docs/js/latest/api/lifecycle_hooks/index.jade
@@ -0,0 +1,11 @@
+p.location-badge.
+ defined in
angular2/lifecycle_hooks.ts (line 1)
+
+ul
+ for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
+ if slug != 'index'
+ - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
+
+ li.c8
+ != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
+
diff --git a/public/docs/js/latest/api/router/APP_BASE_HREF-const.jade b/public/docs/js/latest/api/router/APP_BASE_HREF-const.jade
new file mode 100644
index 0000000000..b5e2cc3b30
--- /dev/null
+++ b/public/docs/js/latest/api/router/APP_BASE_HREF-const.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/location.ts (line 8)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/router/AsyncRoute-class.jade b/public/docs/js/latest/api/router/AsyncRoute-class.jade
new file mode 100644
index 0000000000..56027ee12a
--- /dev/null
+++ b/public/docs/js/latest/api/router/AsyncRoute-class.jade
@@ -0,0 +1,74 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/route_config_impl.ts (line 56)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({path, loader, as, data}: {path: string, loader: Function, as?: string, data?: any})
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 data
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 loader
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 as
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/AuxRoute-class.jade b/public/docs/js/latest/api/router/AuxRoute-class.jade
new file mode 100644
index 0000000000..51409b8a6b
--- /dev/null
+++ b/public/docs/js/latest/api/router/AuxRoute-class.jade
@@ -0,0 +1,98 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/route_config_impl.ts (line 38)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({path, component, as}: {path: string, component: Type, as?: string})
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 data
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 component
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 as
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 loader
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 redirectTo
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/CanActivate-var.jade b/public/docs/js/latest/api/router/CanActivate-var.jade
new file mode 100644
index 0000000000..2beed1824f
--- /dev/null
+++ b/public/docs/js/latest/api/router/CanActivate-var.jade
@@ -0,0 +1,30 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/lifecycle_annotations.ts (line 41)
+
+ :markdown
+ Defines route lifecycle method [canActivate], which is called by the router to determine
+ if a component can be instantiated as part of a navigation.
+
+ Note that unlike other lifecycle hooks, this one uses an annotation rather than an interface.
+ This is because [canActivate] is called before the component is instantiated.
+
+ If `canActivate` returns or resolves to `false`, the navigation is cancelled.
+
+ If `canActivate` throws or rejects, the navigation is also cancelled.
+
+ ## Example
+ ```
+ @Directive({
+ selector: 'control-panel-cmp'
+ })
+ @CanActivate(() => checkIfUserIsLoggedIn())
+ class ControlPanelCmp {
+ // ...
+ }
+ ```
+
+
+
diff --git a/public/docs/js/latest/api/router/CanDeactivate-interface.jade b/public/docs/js/latest/api/router/CanDeactivate-interface.jade
new file mode 100644
index 0000000000..15b48d7e97
--- /dev/null
+++ b/public/docs/js/latest/api/router/CanDeactivate-interface.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/interfaces.ts (line 115)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 canDeactivate
+
+
+ pre.prettyprint
+ code.
+ canDeactivate(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/CanReuse-interface.jade b/public/docs/js/latest/api/router/CanReuse-interface.jade
new file mode 100644
index 0000000000..2eb7affd44
--- /dev/null
+++ b/public/docs/js/latest/api/router/CanReuse-interface.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/interfaces.ts (line 87)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 canReuse
+
+
+ pre.prettyprint
+ code.
+ canReuse(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/ComponentDefinition-interface.jade b/public/docs/js/latest/api/router/ComponentDefinition-interface.jade
new file mode 100644
index 0000000000..7ef5024958
--- /dev/null
+++ b/public/docs/js/latest/api/router/ComponentDefinition-interface.jade
@@ -0,0 +1,44 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/route_definition.ts (line 10)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 type
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 loader?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 component?
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/ComponentInstruction-interface.jade b/public/docs/js/latest/api/router/ComponentInstruction-interface.jade
new file mode 100644
index 0000000000..ed1683f0ed
--- /dev/null
+++ b/public/docs/js/latest/api/router/ComponentInstruction-interface.jade
@@ -0,0 +1,124 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/instruction.ts (line 76)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 reuse
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 urlPath
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 urlParams
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 params
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 componentType
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 resolveComponentType
+
+
+ pre.prettyprint
+ code.
+ resolveComponentType()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 specificity
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 terminal
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 routeData
+
+
+ pre.prettyprint
+ code.
+ routeData()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/HashLocationStrategy-class.jade b/public/docs/js/latest/api/router/HashLocationStrategy-class.jade
new file mode 100644
index 0000000000..a818b0531c
--- /dev/null
+++ b/public/docs/js/latest/api/router/HashLocationStrategy-class.jade
@@ -0,0 +1,129 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/hash_location_strategy.ts (line 4)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 onPopState
+
+
+ pre.prettyprint
+ code.
+ onPopState(fn: EventListener)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getBaseHref
+
+
+ pre.prettyprint
+ code.
+ getBaseHref()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ pre.prettyprint
+ code.
+ path()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 pushState
+
+
+ pre.prettyprint
+ code.
+ pushState(state: any, title: string, url: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 forward
+
+
+ pre.prettyprint
+ code.
+ forward()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 back
+
+
+ pre.prettyprint
+ code.
+ back()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/Instruction-class.jade b/public/docs/js/latest/api/router/Instruction-class.jade
new file mode 100644
index 0000000000..cb67cf495c
--- /dev/null
+++ b/public/docs/js/latest/api/router/Instruction-class.jade
@@ -0,0 +1,75 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/instruction.ts (line 18)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(component: ComponentInstruction, child: Instruction, auxInstruction: StringMap<string, Instruction>)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 component
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 child
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 auxInstruction
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 replaceChild
+
+
+ pre.prettyprint
+ code.
+ replaceChild(child: Instruction)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/Location-class.jade b/public/docs/js/latest/api/router/Location-class.jade
new file mode 100644
index 0000000000..18e8de2232
--- /dev/null
+++ b/public/docs/js/latest/api/router/Location-class.jade
@@ -0,0 +1,157 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/location.ts (line 8)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(platformStrategy: LocationStrategy, href?: string)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 platformStrategy
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ pre.prettyprint
+ code.
+ path()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 normalize
+
+
+ pre.prettyprint
+ code.
+ normalize(url: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 normalizeAbsolutely
+
+
+ pre.prettyprint
+ code.
+ normalizeAbsolutely(url: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 go
+
+
+ pre.prettyprint
+ code.
+ go(url: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 forward
+
+
+ pre.prettyprint
+ code.
+ forward()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 back
+
+
+ pre.prettyprint
+ code.
+ back()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 subscribe
+
+
+ pre.prettyprint
+ code.
+ subscribe(onNext: (value: any) => void, onThrow?: (exception: any) => void, onReturn?: () => void)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/LocationStrategy-class.jade b/public/docs/js/latest/api/router/LocationStrategy-class.jade
new file mode 100644
index 0000000000..064d7de5c6
--- /dev/null
+++ b/public/docs/js/latest/api/router/LocationStrategy-class.jade
@@ -0,0 +1,104 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/location_strategy.ts (line 5)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 path
+
+
+ pre.prettyprint
+ code.
+ path()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 pushState
+
+
+ pre.prettyprint
+ code.
+ pushState(ctx: any, title: string, url: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 forward
+
+
+ pre.prettyprint
+ code.
+ forward()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 back
+
+
+ pre.prettyprint
+ code.
+ back()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onPopState
+
+
+ pre.prettyprint
+ code.
+ onPopState(fn: (_: any) => any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getBaseHref
+
+
+ pre.prettyprint
+ code.
+ getBaseHref()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/OnActivate-interface.jade b/public/docs/js/latest/api/router/OnActivate-interface.jade
new file mode 100644
index 0000000000..42cb13914f
--- /dev/null
+++ b/public/docs/js/latest/api/router/OnActivate-interface.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/interfaces.ts (line 7)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onActivate
+
+
+ pre.prettyprint
+ code.
+ onActivate(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/OnDeactivate-interface.jade b/public/docs/js/latest/api/router/OnDeactivate-interface.jade
new file mode 100644
index 0000000000..e13bbf7246
--- /dev/null
+++ b/public/docs/js/latest/api/router/OnDeactivate-interface.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/interfaces.ts (line 61)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onDeactivate
+
+
+ pre.prettyprint
+ code.
+ onDeactivate(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/OnReuse-interface.jade b/public/docs/js/latest/api/router/OnReuse-interface.jade
new file mode 100644
index 0000000000..c5354f9e55
--- /dev/null
+++ b/public/docs/js/latest/api/router/OnReuse-interface.jade
@@ -0,0 +1,24 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/interfaces.ts (line 34)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 onReuse
+
+
+ pre.prettyprint
+ code.
+ onReuse(nextInstruction: ComponentInstruction, prevInstruction: ComponentInstruction)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/OpaqueToken-class.jade b/public/docs/js/latest/api/router/OpaqueToken-class.jade
new file mode 100644
index 0000000000..4135bf64a3
--- /dev/null
+++ b/public/docs/js/latest/api/router/OpaqueToken-class.jade
@@ -0,0 +1,42 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/core/di/opaque_token.ts (line 1)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_desc: string)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/PathLocationStrategy-class.jade b/public/docs/js/latest/api/router/PathLocationStrategy-class.jade
new file mode 100644
index 0000000000..a8d07c6b55
--- /dev/null
+++ b/public/docs/js/latest/api/router/PathLocationStrategy-class.jade
@@ -0,0 +1,129 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/path_location_strategy.ts (line 4)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 onPopState
+
+
+ pre.prettyprint
+ code.
+ onPopState(fn: EventListener)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 getBaseHref
+
+
+ pre.prettyprint
+ code.
+ getBaseHref()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ pre.prettyprint
+ code.
+ path()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 pushState
+
+
+ pre.prettyprint
+ code.
+ pushState(state: any, title: string, url: string)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 forward
+
+
+ pre.prettyprint
+ code.
+ forward()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 back
+
+
+ pre.prettyprint
+ code.
+ back()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/Pipeline-class.jade b/public/docs/js/latest/api/router/Pipeline-class.jade
new file mode 100644
index 0000000000..142fe23dd3
--- /dev/null
+++ b/public/docs/js/latest/api/router/Pipeline-class.jade
@@ -0,0 +1,61 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/pipeline.ts (line 4)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor()
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 steps
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 process
+
+
+ pre.prettyprint
+ code.
+ process(instruction: Instruction)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/ROUTER_BINDINGS-const.jade b/public/docs/js/latest/api/router/ROUTER_BINDINGS-const.jade
new file mode 100644
index 0000000000..d6e7e67ab5
--- /dev/null
+++ b/public/docs/js/latest/api/router/ROUTER_BINDINGS-const.jade
@@ -0,0 +1,30 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/router.ts (line 63)
+
+ :markdown
+ A list of
Binding. To use the router, you must add this to your application.
+
+ ## Example
+
+ ```typescript
+ @Component({...})
+ @View({directives: [ROUTER_DIRECTIVES]})
+ @RouteConfig([
+ new Route(...),
+ ])
+ class AppCmp {
+ constructor(router: Router, location: Location) {
+ // ...
+ }
+
+ }
+
+
+ bootstrap(AppCmp, [ROUTER_BINDINGS]);
+ ```
+
+
+
diff --git a/public/docs/js/latest/api/router/ROUTER_DIRECTIVES-const.jade b/public/docs/js/latest/api/router/ROUTER_DIRECTIVES-const.jade
new file mode 100644
index 0000000000..97b853bf64
--- /dev/null
+++ b/public/docs/js/latest/api/router/ROUTER_DIRECTIVES-const.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/router.ts (line 39)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/router/ROUTE_DATA-const.jade b/public/docs/js/latest/api/router/ROUTE_DATA-const.jade
new file mode 100644
index 0000000000..3e4293309c
--- /dev/null
+++ b/public/docs/js/latest/api/router/ROUTE_DATA-const.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/route_data.ts (line 4)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/router/Redirect-class.jade b/public/docs/js/latest/api/router/Redirect-class.jade
new file mode 100644
index 0000000000..2b182a7e13
--- /dev/null
+++ b/public/docs/js/latest/api/router/Redirect-class.jade
@@ -0,0 +1,86 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/route_config_impl.ts (line 70)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({path, redirectTo}: {path: string, redirectTo: string})
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 redirectTo
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 as
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 loader
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 data
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/RootRouter-class.jade b/public/docs/js/latest/api/router/RootRouter-class.jade
new file mode 100644
index 0000000000..449011cf14
--- /dev/null
+++ b/public/docs/js/latest/api/router/RootRouter-class.jade
@@ -0,0 +1,39 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/router.ts (line 457)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(registry: RouteRegistry, pipeline: Pipeline, location: Location, hostComponent: Type)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 commit
+
+
+ pre.prettyprint
+ code.
+ commit(instruction: Instruction, _skipLocationChange?: boolean)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/Route-class.jade b/public/docs/js/latest/api/router/Route-class.jade
new file mode 100644
index 0000000000..c5bf73fa29
--- /dev/null
+++ b/public/docs/js/latest/api/router/Route-class.jade
@@ -0,0 +1,99 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/route_config_impl.ts (line 17)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor({path, component, as, data}:
+ {path: string, component: Type, as?: string, data?: any})
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 data
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 component
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 as
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 loader
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 redirectTo
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/RouteConfig-var.jade b/public/docs/js/latest/api/router/RouteConfig-var.jade
new file mode 100644
index 0000000000..60d7b9cd2d
--- /dev/null
+++ b/public/docs/js/latest/api/router/RouteConfig-var.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/route_config_decorator.ts (line 5)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/router/RouteDefinition-interface.jade b/public/docs/js/latest/api/router/RouteDefinition-interface.jade
new file mode 100644
index 0000000000..f3fff239a1
--- /dev/null
+++ b/public/docs/js/latest/api/router/RouteDefinition-interface.jade
@@ -0,0 +1,80 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/route_definition.ts (line 1)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 component?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 loader?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 redirectTo?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 as?
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 data?
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/RouteParams-class.jade b/public/docs/js/latest/api/router/RouteParams-class.jade
new file mode 100644
index 0000000000..6d62366a7d
--- /dev/null
+++ b/public/docs/js/latest/api/router/RouteParams-class.jade
@@ -0,0 +1,51 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/instruction.ts (line 12)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(params: StringMap<string, string>)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 params
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 get
+
+
+ pre.prettyprint
+ code.
+ get(param: string)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/RouteRegistry-class.jade b/public/docs/js/latest/api/router/RouteRegistry-class.jade
new file mode 100644
index 0000000000..71d9b4f27f
--- /dev/null
+++ b/public/docs/js/latest/api/router/RouteRegistry-class.jade
@@ -0,0 +1,88 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/route_registry.ts (line 37)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 config
+
+
+ pre.prettyprint
+ code.
+ config(parentComponent: any, config: RouteDefinition)
+
+ :markdown
+ Given a component and a configuration object, add the route to this registry
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 configFromComponent
+
+
+ pre.prettyprint
+ code.
+ configFromComponent(component: any)
+
+ :markdown
+ Reads the annotations of a component and configures the registry based on them
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 recognize
+
+
+ pre.prettyprint
+ code.
+ recognize(url: string, parentComponent: any)
+
+ :markdown
+ Given a URL and a parent component, return the most specific instruction for navigating
+ the application into the state specified by the url
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 generate
+
+
+ pre.prettyprint
+ code.
+ generate(linkParams: any[], parentComponent: any)
+
+ :markdown
+ Given a normalized list with component names and params like: `['user', {id: 3 }]`
+ generates a url with a leading slash relative to the provided `parentComponent`.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/Router-class.jade b/public/docs/js/latest/api/router/Router-class.jade
new file mode 100644
index 0000000000..9f763d5fa1
--- /dev/null
+++ b/public/docs/js/latest/api/router/Router-class.jade
@@ -0,0 +1,370 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/router.ts (line 26)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(registry: RouteRegistry, _pipeline: Pipeline, parent: Router, hostComponent: any)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 navigating
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 lastNavigationAttempt
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 registry
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 parent
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 hostComponent
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 childRouter
+
+
+ pre.prettyprint
+ code.
+ childRouter(hostComponent: any)
+
+ :markdown
+ Constructs a child router. You probably don't need to use this unless you're writing a reusable
+ component.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 auxRouter
+
+
+ pre.prettyprint
+ code.
+ auxRouter(hostComponent: any)
+
+ :markdown
+ Constructs a child router. You probably don't need to use this unless you're writing a reusable
+ component.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 registerPrimaryOutlet
+
+
+ pre.prettyprint
+ code.
+ registerPrimaryOutlet(outlet: RouterOutlet)
+
+ :markdown
+ Register an outlet to notified of primary route changes.
+
+ You probably don't need to use this unless you're writing a reusable component.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 registerAuxOutlet
+
+
+ pre.prettyprint
+ code.
+ registerAuxOutlet(outlet: RouterOutlet)
+
+ :markdown
+ Register an outlet to notified of auxiliary route changes.
+
+ You probably don't need to use this unless you're writing a reusable component.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 isRouteActive
+
+
+ pre.prettyprint
+ code.
+ isRouteActive(instruction: Instruction)
+
+ :markdown
+ Given an instruction, returns `true` if the instruction is currently active,
+ otherwise `false`.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 config
+
+
+ pre.prettyprint
+ code.
+ config(definitions: RouteDefinition[])
+
+ :markdown
+ Dynamically update the routing configuration and trigger a navigation.
+
+ # Usage
+
+ ```
+ router.config([
+ { 'path': '/', 'component': IndexComp },
+ { 'path': '/user/:id', 'component': UserComp },
+ ]);
+ ```
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 navigate
+
+
+ pre.prettyprint
+ code.
+ navigate(linkParams: any[])
+
+ :markdown
+ Navigate based on the provided Route Link DSL. It's preferred to navigate with this method
+ over `navigateByUrl`.
+
+ # Usage
+
+ This method takes an array representing the Route Link DSL:
+ ```
+ ['./MyCmp', {param: 3}]
+ ```
+ See the
RouterLink directive for more.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 navigateByUrl
+
+
+ pre.prettyprint
+ code.
+ navigateByUrl(url: string, _skipLocationChange?: boolean)
+
+ :markdown
+ Navigate to a URL. Returns a promise that resolves when navigation is complete.
+ It's preferred to navigate with `navigate` instead of this method, since URLs are more brittle.
+
+ If the given URL begins with a `/`, router will navigate absolutely.
+ If the given URL does not begin with `/`, the router will navigate relative to this component.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 navigateByInstruction
+
+
+ pre.prettyprint
+ code.
+ navigateByInstruction(instruction: Instruction, _skipLocationChange?: boolean)
+
+ :markdown
+ Navigate via the provided instruction. Returns a promise that resolves when navigation is
+ complete.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 commit
+
+
+ pre.prettyprint
+ code.
+ commit(instruction: Instruction, _skipLocationChange?: boolean)
+
+ :markdown
+ Updates this router and all descendant routers according to the given instruction
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 subscribe
+
+
+ pre.prettyprint
+ code.
+ subscribe(onNext: (value: any) => void)
+
+ :markdown
+ Subscribe to URL updates from the router
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 deactivate
+
+
+ pre.prettyprint
+ code.
+ deactivate(instruction: Instruction)
+
+ :markdown
+ Removes the contents of this router's outlet and all descendant outlets
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 recognize
+
+
+ pre.prettyprint
+ code.
+ recognize(url: string)
+
+ :markdown
+ Given a URL, returns an instruction representing the component graph
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 renavigate
+
+
+ pre.prettyprint
+ code.
+ renavigate()
+
+ :markdown
+ Navigates to either the last URL successfully navigated to, or the last URL requested if the
+ router has yet to successfully navigate.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 generate
+
+
+ pre.prettyprint
+ code.
+ generate(linkParams: any[])
+
+ :markdown
+ Generate a URL from a component name and optional map of parameters. The URL is relative to the
+ app's base href.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/RouterLink-class.jade b/public/docs/js/latest/api/router/RouterLink-class.jade
new file mode 100644
index 0000000000..e366c96d4e
--- /dev/null
+++ b/public/docs/js/latest/api/router/RouterLink-class.jade
@@ -0,0 +1,93 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/router_link.ts (line 6)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({
+ selector: '[router-link]',
+ properties: ['routeParams: routerLink'],
+ host: {
+ '(click)': 'onClick()',
+ '[attr.href]': 'visibleHref',
+ '[class.router-link-active]': 'isRouteActive'
+ }
+ })
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_router: Router, _location: Location)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 visibleHref
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 isRouteActive
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 routeParams
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 onClick
+
+
+ pre.prettyprint
+ code.
+ onClick()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/RouterOutlet-interface.jade b/public/docs/js/latest/api/router/RouterOutlet-interface.jade
new file mode 100644
index 0000000000..1227611a3e
--- /dev/null
+++ b/public/docs/js/latest/api/router/RouterOutlet-interface.jade
@@ -0,0 +1,131 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/router_outlet.ts (line 16)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Directive
+ pre.prettyprint
+ code.
+ @Directive({selector: 'router-outlet'})
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 name
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 activate
+
+
+ pre.prettyprint
+ code.
+ activate(nextInstruction: ComponentInstruction)
+
+ :markdown
+ Called by the Router to instantiate a new component during the commit phase of a navigation.
+ This method in turn is responsible for calling the `onActivate` hook of its child.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 reuse
+
+
+ pre.prettyprint
+ code.
+ reuse(nextInstruction: ComponentInstruction)
+
+ :markdown
+ Called by the
Router during the commit phase of a navigation when an outlet
+ reuses a component between different routes.
+ This method in turn is responsible for calling the `onReuse` hook of its child.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 deactivate
+
+
+ pre.prettyprint
+ code.
+ deactivate(nextInstruction: ComponentInstruction)
+
+ :markdown
+ Called by the
Router when an outlet reuses a component across navigations.
+ This method in turn is responsible for calling the `onReuse` hook of its child.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 canDeactivate
+
+
+ pre.prettyprint
+ code.
+ canDeactivate(nextInstruction: ComponentInstruction)
+
+ :markdown
+ Called by the
Router during recognition phase of a navigation.
+
+ If this resolves to `false`, the given navigation is cancelled.
+
+ This method delegates to the child component's `canDeactivate` hook if it exists,
+ and otherwise resolves to true.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 canReuse
+
+
+ pre.prettyprint
+ code.
+ canReuse(nextInstruction: ComponentInstruction)
+
+ :markdown
+ Called by the
Router during recognition phase of a navigation.
+
+ If the new child component has a different Type than the existing child component,
+ this will resolve to `false`. You can't reuse an old component when the new component
+ is of a different Type.
+
+ Otherwise, this method delegates to the child component's `canReuse` hook if it exists,
+ or resolves to true if the hook is not present.
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/Url-class.jade b/public/docs/js/latest/api/router/Url-class.jade
new file mode 100644
index 0000000000..70088b9b22
--- /dev/null
+++ b/public/docs/js/latest/api/router/Url-class.jade
@@ -0,0 +1,103 @@
+
+p.location-badge.
+ exported from
angular2/router
+ defined in
angular2/src/router/url_parser.ts (line 3)
+
+:markdown
+ Maps application URLs into application states, to support deep-linking and navigation.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(path: string, child?: Url, auxiliary?: Url[], params?: StringMap<string, any>)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 path
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 child
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 auxiliary
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 params
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toString
+
+
+ pre.prettyprint
+ code.
+ toString()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 segmentToString
+
+
+ pre.prettyprint
+ code.
+ segmentToString()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/router/_data.json b/public/docs/js/latest/api/router/_data.json
new file mode 100644
index 0000000000..729df0f7c4
--- /dev/null
+++ b/public/docs/js/latest/api/router/_data.json
@@ -0,0 +1,136 @@
+{
+ "index" : {
+ "title" : "Router",
+ "intro" : "Maps application URLs into application states, to support deep-linking and navigation."
+ },
+
+ "Router-class" : {
+ "title" : "Router"
+ },
+
+ "RootRouter-class" : {
+ "title" : "RootRouter"
+ },
+
+ "RouterOutlet-interface" : {
+ "title" : "RouterOutlet"
+ },
+
+ "RouterLink-class" : {
+ "title" : "RouterLink"
+ },
+
+ "RouteParams-class" : {
+ "title" : "RouteParams"
+ },
+
+ "RouteRegistry-class" : {
+ "title" : "RouteRegistry"
+ },
+
+ "LocationStrategy-class" : {
+ "title" : "LocationStrategy"
+ },
+
+ "HashLocationStrategy-class" : {
+ "title" : "HashLocationStrategy"
+ },
+
+ "PathLocationStrategy-class" : {
+ "title" : "PathLocationStrategy"
+ },
+
+ "Location-class" : {
+ "title" : "Location"
+ },
+
+ "APP_BASE_HREF-const" : {
+ "title" : "APP_BASE_HREF",
+ "varType" : "OpaqueToken"
+ },
+
+ "Pipeline-class" : {
+ "title" : "Pipeline"
+ },
+
+ "OnActivate-interface" : {
+ "title" : "OnActivate"
+ },
+
+ "OnDeactivate-interface" : {
+ "title" : "OnDeactivate"
+ },
+
+ "OnReuse-interface" : {
+ "title" : "OnReuse"
+ },
+
+ "CanDeactivate-interface" : {
+ "title" : "CanDeactivate"
+ },
+
+ "CanReuse-interface" : {
+ "title" : "CanReuse"
+ },
+
+ "CanActivate-var" : {
+ "title" : "CanActivate"
+ },
+
+ "Instruction-class" : {
+ "title" : "Instruction"
+ },
+
+ "ComponentInstruction-interface" : {
+ "title" : "ComponentInstruction"
+ },
+
+ "Url-class" : {
+ "title" : "Url"
+ },
+
+ "OpaqueToken-class" : {
+ "title" : "OpaqueToken"
+ },
+
+ "ROUTE_DATA-const" : {
+ "title" : "ROUTE_DATA",
+ "varType" : "OpaqueToken"
+ },
+
+ "ROUTER_DIRECTIVES-const" : {
+ "title" : "ROUTER_DIRECTIVES"
+ },
+
+ "ROUTER_BINDINGS-const" : {
+ "title" : "ROUTER_BINDINGS"
+ },
+
+ "Route-class" : {
+ "title" : "Route"
+ },
+
+ "Redirect-class" : {
+ "title" : "Redirect"
+ },
+
+ "AuxRoute-class" : {
+ "title" : "AuxRoute"
+ },
+
+ "AsyncRoute-class" : {
+ "title" : "AsyncRoute"
+ },
+
+ "RouteDefinition-interface" : {
+ "title" : "RouteDefinition"
+ },
+
+ "RouteConfig-var" : {
+ "title" : "RouteConfig"
+ },
+
+ "ComponentDefinition-interface" : {
+ "title" : "ComponentDefinition"
+ }
+}
diff --git a/public/docs/js/latest/api/router/index.jade b/public/docs/js/latest/api/router/index.jade
new file mode 100644
index 0000000000..6589a8223f
--- /dev/null
+++ b/public/docs/js/latest/api/router/index.jade
@@ -0,0 +1,11 @@
+p.location-badge.
+ defined in
angular2/router.ts (line 1)
+
+ul
+ for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
+ if slug != 'index'
+ - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
+
+ li.c8
+ != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
+
diff --git a/public/docs/js/latest/api/test/AsyncTestCompleter-class.jade b/public/docs/js/latest/api/test/AsyncTestCompleter-class.jade
new file mode 100644
index 0000000000..132b170f89
--- /dev/null
+++ b/public/docs/js/latest/api/test/AsyncTestCompleter-class.jade
@@ -0,0 +1,41 @@
+
+p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 37)
+
+:markdown
+ This module is used for writing tests for applications written in Angular.
+
+ This module is not included in the `angular2` module; you must import the test module explicitly.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_done: Function)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 done
+
+
+ pre.prettyprint
+ code.
+ done()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade b/public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade
new file mode 100644
index 0000000000..411d38aabe
--- /dev/null
+++ b/public/docs/js/latest/api/test/FunctionWithParamTokens-class.jade
@@ -0,0 +1,58 @@
+
+p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_injector.ts (line 193)
+
+:markdown
+ This module is used for writing tests for applications written in Angular.
+
+ This module is not included in the `angular2` module; you must import the test module explicitly.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_tokens: any[], _fn: Function)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 execute
+
+
+ pre.prettyprint
+ code.
+ execute(injector: Injector)
+
+ :markdown
+ Returns the value of the executed function.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 hasToken
+
+
+ pre.prettyprint
+ code.
+ hasToken(token: any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/test/GuinessCompatibleSpy-interface.jade b/public/docs/js/latest/api/test/GuinessCompatibleSpy-interface.jade
new file mode 100644
index 0000000000..ea3bf97179
--- /dev/null
+++ b/public/docs/js/latest/api/test/GuinessCompatibleSpy-interface.jade
@@ -0,0 +1,63 @@
+
+p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 338)
+
+:markdown
+ This module is used for writing tests for applications written in Angular.
+
+ This module is not included in the `angular2` module; you must import the test module explicitly.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 andReturn
+
+
+ pre.prettyprint
+ code.
+ andReturn(val: any)
+
+ :markdown
+ By chaining the spy with and.returnValue, all calls to the function will return a specific
+ value.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 andCallFake
+
+
+ pre.prettyprint
+ code.
+ andCallFake(fn: Function)
+
+ :markdown
+ By chaining the spy with and.callFake, all calls to the spy will delegate to the supplied
+ function.
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 reset
+
+
+ pre.prettyprint
+ code.
+ reset()
+
+ :markdown
+ removes all recorded calls
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/test/NgMatchers-interface.jade b/public/docs/js/latest/api/test/NgMatchers-interface.jade
new file mode 100644
index 0000000000..b054bba4d3
--- /dev/null
+++ b/public/docs/js/latest/api/test/NgMatchers-interface.jade
@@ -0,0 +1,166 @@
+
+p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 22)
+
+:markdown
+ This module is used for writing tests for applications written in Angular.
+
+ This module is not included in the `angular2` module; you must import the test module explicitly.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 toBe
+
+
+ pre.prettyprint
+ code.
+ toBe(expected: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toEqual
+
+
+ pre.prettyprint
+ code.
+ toEqual(expected: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toBePromise
+
+
+ pre.prettyprint
+ code.
+ toBePromise()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toBeAnInstanceOf
+
+
+ pre.prettyprint
+ code.
+ toBeAnInstanceOf(expected: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toHaveText
+
+
+ pre.prettyprint
+ code.
+ toHaveText(expected: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toHaveCssClass
+
+
+ pre.prettyprint
+ code.
+ toHaveCssClass(expected: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toImplement
+
+
+ pre.prettyprint
+ code.
+ toImplement(expected: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toContainError
+
+
+ pre.prettyprint
+ code.
+ toContainError(expected: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 toThrowErrorWith
+
+
+ pre.prettyprint
+ code.
+ toThrowErrorWith(expectedMessage: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 not
+
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/test/RootTestComponent-interface.jade b/public/docs/js/latest/api/test/RootTestComponent-interface.jade
new file mode 100644
index 0000000000..d6b0fa12ff
--- /dev/null
+++ b/public/docs/js/latest/api/test/RootTestComponent-interface.jade
@@ -0,0 +1,54 @@
+
+p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_component_builder.ts (line 23)
+
+:markdown
+ This module is used for writing tests for applications written in Angular.
+
+ This module is not included in the `angular2` module; you must import the test module explicitly.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 debugElement
+
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 detectChanges
+
+
+ pre.prettyprint
+ code.
+ detectChanges()
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 destroy
+
+
+ pre.prettyprint
+ code.
+ destroy()
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/test/SpyObject-class.jade b/public/docs/js/latest/api/test/SpyObject-class.jade
new file mode 100644
index 0000000000..52f9ff740d
--- /dev/null
+++ b/public/docs/js/latest/api/test/SpyObject-class.jade
@@ -0,0 +1,73 @@
+
+p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 349)
+
+:markdown
+ This module is used for writing tests for applications written in Angular.
+
+ This module is not included in the `angular2` module; you must import the test module explicitly.
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(type?: any)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 noSuchMethod
+
+
+ pre.prettyprint
+ code.
+ noSuchMethod(args: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 spy
+
+
+ pre.prettyprint
+ code.
+ spy(name: any)
+
+ :markdown
+
+
+
+
+
+
+
+ .l-sub-section
+ h3 prop
+
+
+ pre.prettyprint
+ code.
+ prop(name: any, value: any)
+
+ :markdown
+
+
+
+
+
+
diff --git a/public/docs/js/latest/api/test/SyncTestFn-type-alias.jade b/public/docs/js/latest/api/test/SyncTestFn-type-alias.jade
new file mode 100644
index 0000000000..8b5cac6bef
--- /dev/null
+++ b/public/docs/js/latest/api/test/SyncTestFn-type-alias.jade
@@ -0,0 +1,6 @@
+
+
SyncTestFn type alias
+
exported from angular2/test
+defined in angular2/src/test_lib/test_lib.ts (line 18)
+
+
diff --git a/public/docs/js/latest/api/test/TestComponentBuilder-class.jade b/public/docs/js/latest/api/test/TestComponentBuilder-class.jade
new file mode 100644
index 0000000000..c135ae5afc
--- /dev/null
+++ b/public/docs/js/latest/api/test/TestComponentBuilder-class.jade
@@ -0,0 +1,144 @@
+
+p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_component_builder.ts (line 48)
+
+:markdown
+ This module is used for writing tests for applications written in Angular.
+
+ This module is not included in the `angular2` module; you must import the test module explicitly.
+
+.l-main-section
+ h2 Annotations
+ .l-sub-section
+ h3.annotation Injectable
+ pre.prettyprint
+ code.
+ @Injectable()
+
+
+.l-main-section
+ h2 Members
+ .l-sub-section
+ h3 constructor
+
+
+ pre.prettyprint
+ code.
+ constructor(_injector: Injector)
+
+ :markdown
+
+
+
+
+
+
+ .l-sub-section
+ h3 overrideTemplate
+
+
+ pre.prettyprint
+ code.
+ overrideTemplate(componentType: Type, template: string)
+
+ :markdown
+ Overrides only the html of a
ComponentMetadata.
+ All the other properties of the component's
ViewMetadata are preserved.
+
+
+
+
+
+
+ .l-sub-section
+ h3 overrideView
+
+
+ pre.prettyprint
+ code.
+ overrideView(componentType: Type, view: ViewMetadata)
+
+ :markdown
+ Overrides a component's
ViewMetadata.
+
+
+
+
+
+
+ .l-sub-section
+ h3 overrideDirective
+
+
+ pre.prettyprint
+ code.
+ overrideDirective(componentType: Type, from: Type, to: Type)
+
+ :markdown
+ Overrides the directives from the component
ViewMetadata.
+
+
+
+
+
+
+ .l-sub-section
+ h3 overrideBindings
+
+
+ pre.prettyprint
+ code.
+ overrideBindings(type: Type, bindings: any[])
+
+ :markdown
+ Overrides one or more injectables configured via `bindings` metadata property of a directive or
+ component.
+ Very useful when certain bindings need to be mocked out.
+
+ The bindings specified via this method are appended to the existing `bindings` causing the
+ duplicated bindings to
+ be overridden.
+
+
+
+
+
+
+ .l-sub-section
+ h3 overrideViewBindings
+
+
+ pre.prettyprint
+ code.
+ overrideViewBindings(type: Type, bindings: any[])
+
+ :markdown
+ Overrides one or more injectables configured via `bindings` metadata property of a directive or
+ component.
+ Very useful when certain bindings need to be mocked out.
+
+ The bindings specified via this method are appended to the existing `bindings` causing the
+ duplicated bindings to
+ be overridden.
+
+
+
+
+
+
+ .l-sub-section
+ h3 createAsync
+
+
+ pre.prettyprint
+ code.
+ createAsync(rootComponentType: Type)
+
+ :markdown
+ Builds and returns a RootTestComponent.
+
+
+
+
+
diff --git a/public/docs/js/latest/api/test/_data.json b/public/docs/js/latest/api/test/_data.json
new file mode 100644
index 0000000000..a0f0241b36
--- /dev/null
+++ b/public/docs/js/latest/api/test/_data.json
@@ -0,0 +1,112 @@
+{
+ "index" : {
+ "title" : "Test",
+ "intro" : "This module is used for writing tests for applications written in Angular. This module is not included in the `angular2` module; you must import the test module explicitly."
+ },
+
+ "inject-function" : {
+ "title" : "inject"
+ },
+
+ "proxy-var" : {
+ "title" : "proxy",
+ "varType" : "ClassDecorator"
+ },
+
+ "afterEach-var" : {
+ "title" : "afterEach",
+ "varType" : "Function"
+ },
+
+ "SyncTestFn-type-alias" : {
+ "title" : "SyncTestFn"
+ },
+
+ "NgMatchers-interface" : {
+ "title" : "NgMatchers"
+ },
+
+ "expect-var" : {
+ "title" : "expect"
+ },
+
+ "AsyncTestCompleter-class" : {
+ "title" : "AsyncTestCompleter"
+ },
+
+ "describe-function" : {
+ "title" : "describe"
+ },
+
+ "ddescribe-function" : {
+ "title" : "ddescribe"
+ },
+
+ "xdescribe-function" : {
+ "title" : "xdescribe"
+ },
+
+ "beforeEach-function" : {
+ "title" : "beforeEach"
+ },
+
+ "beforeEachBindings-function" : {
+ "title" : "beforeEachBindings"
+ },
+
+ "it-function" : {
+ "title" : "it"
+ },
+
+ "xit-function" : {
+ "title" : "xit"
+ },
+
+ "iit-function" : {
+ "title" : "iit"
+ },
+
+ "GuinessCompatibleSpy-interface" : {
+ "title" : "GuinessCompatibleSpy"
+ },
+
+ "SpyObject-class" : {
+ "title" : "SpyObject"
+ },
+
+ "isInInnerZone-function" : {
+ "title" : "isInInnerZone"
+ },
+
+ "RootTestComponent-interface" : {
+ "title" : "RootTestComponent"
+ },
+
+ "TestComponentBuilder-class" : {
+ "title" : "TestComponentBuilder"
+ },
+
+ "createTestInjector-function" : {
+ "title" : "createTestInjector"
+ },
+
+ "FunctionWithParamTokens-class" : {
+ "title" : "FunctionWithParamTokens"
+ },
+
+ "fakeAsync-function" : {
+ "title" : "fakeAsync"
+ },
+
+ "clearPendingTimers-function" : {
+ "title" : "clearPendingTimers"
+ },
+
+ "tick-function" : {
+ "title" : "tick"
+ },
+
+ "flushMicrotasks-function" : {
+ "title" : "flushMicrotasks"
+ }
+}
diff --git a/public/docs/js/latest/api/test/afterEach-var.jade b/public/docs/js/latest/api/test/afterEach-var.jade
new file mode 100644
index 0000000000..864d058be9
--- /dev/null
+++ b/public/docs/js/latest/api/test/afterEach-var.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 18)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/test/beforeEach-function.jade b/public/docs/js/latest/api/test/beforeEach-function.jade
new file mode 100644
index 0000000000..c3c47e7848
--- /dev/null
+++ b/public/docs/js/latest/api/test/beforeEach-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") beforeEach
+
+
+ pre.prettyprint
+ code.
+ beforeEach(fn: FunctionWithParamTokens | SyncTestFn) : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 100)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/test/beforeEachBindings-function.jade b/public/docs/js/latest/api/test/beforeEachBindings-function.jade
new file mode 100644
index 0000000000..0d8724510d
--- /dev/null
+++ b/public/docs/js/latest/api/test/beforeEachBindings-function.jade
@@ -0,0 +1,29 @@
+
+.l-main-section
+ h2(class="function export") beforeEachBindings
+
+
+ pre.prettyprint
+ code.
+ beforeEachBindings(fn: any) : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 110)
+
+ :markdown
+ Allows overriding default bindings defined in test_injector.js.
+
+ The given function must return a list of DI bindings.
+
+ Example:
+
+ beforeEachBindings(() => [
+ bind(Compiler).toClass(MockCompiler),
+ bind(SomeToken).toValue(myValue),
+ ]);
+
+
+
+
diff --git a/public/docs/js/latest/api/test/clearPendingTimers-function.jade b/public/docs/js/latest/api/test/clearPendingTimers-function.jade
new file mode 100644
index 0000000000..3855dc294d
--- /dev/null
+++ b/public/docs/js/latest/api/test/clearPendingTimers-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") clearPendingTimers
+
+
+ pre.prettyprint
+ code.
+ clearPendingTimers() : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/fake_async.ts (line 66)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/test/createTestInjector-function.jade b/public/docs/js/latest/api/test/createTestInjector-function.jade
new file mode 100644
index 0000000000..45015b361e
--- /dev/null
+++ b/public/docs/js/latest/api/test/createTestInjector-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") createTestInjector
+
+
+ pre.prettyprint
+ code.
+ createTestInjector(bindings: Array<Type | Binding | any[]>) : Injector
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_injector.ts (line 155)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/test/ddescribe-function.jade b/public/docs/js/latest/api/test/ddescribe-function.jade
new file mode 100644
index 0000000000..04e39fac77
--- /dev/null
+++ b/public/docs/js/latest/api/test/ddescribe-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") ddescribe
+
+
+ pre.prettyprint
+ code.
+ ddescribe(...args: any[]) : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 92)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/test/describe-function.jade b/public/docs/js/latest/api/test/describe-function.jade
new file mode 100644
index 0000000000..ccca9a7fe8
--- /dev/null
+++ b/public/docs/js/latest/api/test/describe-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") describe
+
+
+ pre.prettyprint
+ code.
+ describe(...args: any[]) : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 88)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/test/expect-var.jade b/public/docs/js/latest/api/test/expect-var.jade
new file mode 100644
index 0000000000..0ba9d00eb4
--- /dev/null
+++ b/public/docs/js/latest/api/test/expect-var.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 37)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/test/fakeAsync-function.jade b/public/docs/js/latest/api/test/fakeAsync-function.jade
new file mode 100644
index 0000000000..17631f71d7
--- /dev/null
+++ b/public/docs/js/latest/api/test/fakeAsync-function.jade
@@ -0,0 +1,23 @@
+
+.l-main-section
+ h2(class="function export") fakeAsync
+
+
+ pre.prettyprint
+ code.
+ fakeAsync(fn: Function) : Function
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/fake_async.ts (line 15)
+
+ :markdown
+ Wraps a function to be executed in the fakeAsync zone:
+ - microtasks are manually executed by calling `flushMicrotasks()`,
+ - timers are synchronous, `tick()` simulates the asynchronous passage of time.
+
+ If there are any pending timers at the end of the function, an exception will be thrown.
+
+
+
diff --git a/public/docs/js/latest/api/test/flushMicrotasks-function.jade b/public/docs/js/latest/api/test/flushMicrotasks-function.jade
new file mode 100644
index 0000000000..9847862810
--- /dev/null
+++ b/public/docs/js/latest/api/test/flushMicrotasks-function.jade
@@ -0,0 +1,20 @@
+
+.l-main-section
+ h2(class="function export") flushMicrotasks
+
+
+ pre.prettyprint
+ code.
+ flushMicrotasks() : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/fake_async.ts (line 88)
+
+ :markdown
+ Flush any pending microtasks.
+
+
+
+
diff --git a/public/docs/js/latest/api/test/iit-function.jade b/public/docs/js/latest/api/test/iit-function.jade
new file mode 100644
index 0000000000..c8fc43054e
--- /dev/null
+++ b/public/docs/js/latest/api/test/iit-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") iit
+
+
+ pre.prettyprint
+ code.
+ iit(name: any, fn: any, timeOut?: any) : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 191)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/test/index.jade b/public/docs/js/latest/api/test/index.jade
new file mode 100644
index 0000000000..9eaa7a8bb7
--- /dev/null
+++ b/public/docs/js/latest/api/test/index.jade
@@ -0,0 +1,11 @@
+p.location-badge.
+ defined in
angular2/test.ts (line 1)
+
+ul
+ for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
+ if slug != 'index'
+ - var url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + current.path[4] + "/" + slug + ".html"
+
+ li.c8
+ != partial("../../../../../_includes/_hover-card", {name: page.title, url: url })
+
diff --git a/public/docs/js/latest/api/test/inject-function.jade b/public/docs/js/latest/api/test/inject-function.jade
new file mode 100644
index 0000000000..8755cb66a2
--- /dev/null
+++ b/public/docs/js/latest/api/test/inject-function.jade
@@ -0,0 +1,41 @@
+
+.l-main-section
+ h2(class="function export") inject
+
+
+ pre.prettyprint
+ code.
+ inject(tokens: any[], fn: Function) : FunctionWithParamTokens
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_injector.ts (line 160)
+
+ :markdown
+ Allows injecting dependencies in `beforeEach()` and `it()`.
+
+ Example:
+
+ ```
+ beforeEach(inject([Dependency, AClass], (dep, object) => {
+ // some code that uses `dep` and `object`
+ // ...
+ }));
+
+ it('...', inject([AClass, AsyncTestCompleter], (object, async) => {
+ object.doSomething().then(() => {
+ expect(...);
+ async.done();
+ });
+ })
+ ```
+
+ Notes:
+ - injecting an `AsyncTestCompleter` allow completing async tests - this is the equivalent of
+ adding a `done` parameter in Jasmine,
+ - inject is currently a function because of some Traceur limitation the syntax should eventually
+ becomes `it('...', @Inject (object: AClass, async: AsyncTestCompleter) => { ... });`
+
+
+
diff --git a/public/docs/js/latest/api/test/isInInnerZone-function.jade b/public/docs/js/latest/api/test/isInInnerZone-function.jade
new file mode 100644
index 0000000000..aaddb62de5
--- /dev/null
+++ b/public/docs/js/latest/api/test/isInInnerZone-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") isInInnerZone
+
+
+ pre.prettyprint
+ code.
+ isInInnerZone() : boolean
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 432)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/test/it-function.jade b/public/docs/js/latest/api/test/it-function.jade
new file mode 100644
index 0000000000..200efc4166
--- /dev/null
+++ b/public/docs/js/latest/api/test/it-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") it
+
+
+ pre.prettyprint
+ code.
+ it(name: any, fn: any, timeOut?: any) : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 183)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/test/proxy-var.jade b/public/docs/js/latest/api/test/proxy-var.jade
new file mode 100644
index 0000000000..36e8407581
--- /dev/null
+++ b/public/docs/js/latest/api/test/proxy-var.jade
@@ -0,0 +1,10 @@
+
+.l-main-section
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 14)
+
+ :markdown
+
+
+
diff --git a/public/docs/js/latest/api/test/tick-function.jade b/public/docs/js/latest/api/test/tick-function.jade
new file mode 100644
index 0000000000..de3e1aa186
--- /dev/null
+++ b/public/docs/js/latest/api/test/tick-function.jade
@@ -0,0 +1,22 @@
+
+.l-main-section
+ h2(class="function export") tick
+
+
+ pre.prettyprint
+ code.
+ tick(millis?: number) : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/fake_async.ts (line 73)
+
+ :markdown
+ Simulates the asynchronous passage of time for the timers in the fakeAsync zone.
+
+ The microtasks queue is drained at the very start of this function and after any timer callback
+ has been executed.
+
+
+
diff --git a/public/docs/js/latest/api/test/xdescribe-function.jade b/public/docs/js/latest/api/test/xdescribe-function.jade
new file mode 100644
index 0000000000..7271f963c6
--- /dev/null
+++ b/public/docs/js/latest/api/test/xdescribe-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") xdescribe
+
+
+ pre.prettyprint
+ code.
+ xdescribe(...args: any[]) : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 96)
+
+ :markdown
+
+
+
+
diff --git a/public/docs/js/latest/api/test/xit-function.jade b/public/docs/js/latest/api/test/xit-function.jade
new file mode 100644
index 0000000000..d9b1e18a75
--- /dev/null
+++ b/public/docs/js/latest/api/test/xit-function.jade
@@ -0,0 +1,19 @@
+
+.l-main-section
+ h2(class="function export") xit
+
+
+ pre.prettyprint
+ code.
+ xit(name: any, fn: any, timeOut?: any) : void
+
+
+ p.location-badge.
+ exported from
angular2/test
+ defined in
angular2/src/test_lib/test_lib.ts (line 187)
+
+ :markdown
+
+
+
+