XHRConnection

Experimental Class Class Overview class XHRConnection { constructor(req: Request, browserXHR: BrowserXhr, baseResponseOptions?: ResponseOptions) request : Request response : Observable<Response> readyState : ReadyState setDetectedContentType(req: any, _xhr: any) } Class Description Creates connections using XMLHttpRequest. Given a fully-qualified request, an XHRConnection will immediately create an XMLHttpRequest object and send the request. This class would typically

LocationChangeListener

Experimental Interface Interface Overview interface LocationChangeListener { } Interface Description exported from @angular/common/index, defined in @angular/common/src/location/platform_location.ts

Location

Stable Class Class Overview class Location { staticnormalizeQueryParams(params: string) : string staticjoinWithSlash(start: string, end: string) : string staticstripTrailingSlash(url: string) : string constructor(platformStrategy: LocationStrategy) path(includeHash?: boolean) : string isCurrentPathEqualTo(path: string, query?: string) : boolean normalize(url: string) : string prepareExternalUrl(url: string) : string go(path: string, query?: string) : void replaceSta

RequestOptionsArgs

Experimental Interface Interface Overview interface RequestOptionsArgs { url : string method : string|RequestMethod search : string|URLSearchParams headers : Headers body : any withCredentials : boolean responseType : ResponseContentType } Interface Description Interface for options to construct a RequestOptions, based on RequestInit from the Fetch spec. Interface Details url : string method : string|RequestMethod search : string|URLSearchParams headers : Headers body :

Cookbook

Angular 2 Cookbook The Cookbook offers answers to common implementation questions. Each cookbook chapter is a collection of recipes focused on a particular Angular 2 feature or application challenge such as data binding, cross-component interaction, and communicating with a remote server via HTTP. The cookbook is just getting started. Many more recipes are on the way. Each cookbook chapter links to a live sample with every recipe included. Recipes are deliberately brief and code-centric. Each

Angular Module FAQs

Answers to frequently asked questions about @NgModule FAQs Angular Modules help organize an application into cohesive blocks of functionality. The Angular Modules chapter covers the concepts and takes you step by step from the most elementary @NgModule to a multi-faceted sample with lazy loaded modules. This chapter answers the questions many developers ask about Angular Module design and implementation. These FAQs assume that you have already read the Angular Module chapter. Declarations Wha

NgModuleRef

Stable Class Class Overview class NgModuleRef { injector : Injector componentFactoryResolver : ComponentFactoryResolver instance : T destroy() : void onDestroy(callback: () => void) : void } Class Description Represents an instance of an NgModule created via a NgModuleFactory. NgModuleRef provides access to the NgModule Instance as well other objects related to this NgModule Instance. Class Details injector : Injector The injector that contains all of the providers of the Ng

platformWorkerApp

Experimental Const Variable Export export platformWorkerApp exported from @angular/platform-webworker/index defined in @angular/platform-webworker/src/worker_app.ts

FormsModule

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

ComponentFixtureAutoDetect

Experimental Const Variable Export export ComponentFixtureAutoDetect exported from @angular/core/testing/index defined in @angular/core/testing/test_bed.ts