RenderComponentType

Experimental Class Class Overview class RenderComponentType { constructor(id: string, templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, styles: Array<string|any[]>, animations: {[key: string]: Function}) id : string templateUrl : string slotCount : number encapsulation : ViewEncapsulation styles : Array<string|any[]> animations : {[key: string]: Function} } Class Description Constructor constructor(id: string, templateUrl: string, slo

ReceivedMessage

Experimental Class Class Overview class ReceivedMessage { constructor(data: {[key: string]: any}) method : string args : any[] id : string type : string } Class Description Constructor constructor(data: {[key: string]: any}) Class Details method : string args : any[] id : string type : string exported from @angular/platform-webworker/index, defined in @angular/platform-webworker/src/web_workers/shared/service_message_broker.ts

Request

Experimental Class Class Overview class Request { constructor(requestOptions: RequestArgs) method : RequestMethod headers : Headers url : string withCredentials : boolean responseType : ResponseContentType detectContentType() : ContentType detectContentTypeFromBody() : ContentType getBody() : any } Class Description Creates Request instances from provided values. The Request's interface is inspired by the Request constructor defined in the Fetch Spec, but is conside

Renderer

Experimental Class Class Overview class Renderer { selectRootElement(selectorOrNode: string|any, debugInfo?: RenderDebugInfo) : any createElement(parentElement: any, name: string, debugInfo?: RenderDebugInfo) : any createViewRoot(hostElement: any) : any createTemplateAnchor(parentElement: any, debugInfo?: RenderDebugInfo) : any createText(parentElement: any, value: string, debugInfo?: RenderDebugInfo) : any projectNodes(parentElement: any, nodes: any[]) : void attachViewAfter(n

ReflectiveInjector

Stable Class Class Overview class ReflectiveInjector { staticresolve(providers: Provider[]) : ResolvedReflectiveProvider[] staticresolveAndCreate(providers: Provider[], parent?: Injector) : ReflectiveInjector staticfromResolvedProviders(providers: ResolvedReflectiveProvider[], parent?: Injector) : ReflectiveInjector parent : Injector resolveAndCreateChild(providers: Provider[]) : ReflectiveInjector createChildFromResolved(providers: ResolvedReflectiveProvider[]) : ReflectiveInjec

ReflectiveKey

Experimental Class Class Overview class ReflectiveKey { staticget(token: Object) : ReflectiveKey staticnumberOfKeys : number constructor(token: Object, id: number) token : Object id : number displayName : string } Class Description A unique object used for retrieving items from the ReflectiveInjector. Keys have: a system-wide unique id. a token. Key is used internally by ReflectiveInjector because its system-wide unique id allows the injector to store created objects in a

provideRoutes()

Stable Function What it does Registers routes. How to use @NgModule({ imports: [RouterModule.forChild(ROUTES)], providers: [provideRoutes(EXTRA_ROUTES)] }) class MyNgModule {} Class Export export provideRoutes(routes: Routes) : any exported from @angular/router/index defined in @angular/router/src/router_module.ts

Provider

Stable Type-alias What it does Describes how the Injector should be configured. How to use See TypeProvider, ValueProvider, ClassProvider, ExistingProvider, FactoryProvider. Interface Overview interface Provider { } Interface Description For more details, see the Dependency Injection Guide. exported from @angular/core/index, defined in @angular/core/src/di/provider.ts

RC4 to RC5 Migration

Migrate your RC4 app to RC5 in minutes. Angular Modules (NgModules) have landed in Angular RC5! Angular Modules, also known as NgModules, are the powerful new way to organize and bootstrap your Angular application. Read more in the "RC5 and NgModules" announcement. Learn the details of NgModule in the Angular Module chapter. The new @NgModule decorator gives you module-level components, directives, and pipes without the need to specify them repeatedly in every component of your application.

ReactiveFormsModule

Stable Class Class Overview class ReactiveFormsModule { } Class Description The ng module for reactive forms. Annotations @NgModule({ declarations: [REACTIVE_DRIVEN_DIRECTIVES], providers: [FormBuilder, RadioControlRegistry], exports: [InternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES] }) exported from @angular/forms/index, defined in @angular/forms/src/form_providers.ts