wtfEndTimeRange

Experimental Const Variable Export export wtfEndTimeRange Ends a async time range operation. [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been enabled. exported from @angular/core/index defined in @angular/core/src/profile/profile.ts

wtfStartTimeRange

Experimental Const Variable Export export wtfStartTimeRange Used to mark Async start. Async are similar to scope but they don't have to be strictly nested. The return value is used in the call to [endAsync]. Async ranges only work if WTF has been enabled. someMethod() { var s = wtfStartTimeRange('HTTP:GET', 'some.url'); var future = new Future.delay(5).then((_) { wtfEndTimeRange(s); }); } exported from @angular/core/index defined in @angular/core/src/profile/profile.ts

XHRBackend

Experimental Class Class Overview class XHRBackend { constructor(_browserXHR: BrowserXhr, _baseResponseOptions: ResponseOptions, _xsrfStrategy: XSRFStrategy) createConnection(request: Request) : XHRConnection } Class Description Creates XHRConnection instances. This class would typically not be used by end users, but could be overridden if a different backend implementation should be used, such as in a node backend. Example import {Http, MyNodeBackend, HTTP_PROVIDERS, BaseRequest

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

WtfScopeFn

Experimental Interface Interface Overview interface WtfScopeFn { } Interface Description A scope function for the Web Tracing Framework (WTF). exported from @angular/core/index, defined in @angular/core/src/profile/wtf_impl.ts

XSRFStrategy

Experimental Class Class Overview class XSRFStrategy { configureRequest(req: Request) : void } Class Description An XSRFStrategy configures XSRF protection (e.g. via headers) on an HTTP request. Class Details configureRequest(req: Request) : void exported from @angular/http/index, defined in @angular/http/src/interfaces.ts

wtfLeave

Experimental Const Variable Export export wtfLeave Used to mark end of Scope. scope to end. returnValue (optional) to be passed to the WTF. Returns the `returnValue for easy chaining. exported from @angular/core/index defined in @angular/core/src/profile/profile.ts

withModule()

Experimental Function Class Export export withModule(moduleDef: TestModuleMetadata) : InjectSetupWrapper exported from @angular/core/testing/index defined in @angular/core/testing/test_bed.ts

Webpack

Create your Angular 2 applications with a Webpack based tooling Webpack is a popular module bundler, a tool for bundling application source code in convenient chunks and for loading that code from a server into a browser. It's an excellent alternative to the SystemJS approach we use throughout the documentation. In this guide we get a taste of Webpack and how to use it with Angular 2 applications. Table of contents What is Webpack? Entries and outputs Loaders Plugins Configuring Webpack Commo

WORKER_APP_LOCATION_PROVIDERS

Experimental Const Variable Export export WORKER_APP_LOCATION_PROVIDERS Those providers should be added when the router is used in a worker context in addition to the ROUTER_PROVIDERS and after them. exported from @angular/platform-webworker/index defined in @angular/platform-webworker/src/web_workers/worker/location_providers.ts