SafeStyle

Stable Interface Interface Overview interface SafeStyle { } Interface Description Marker interface for a value that's safe to use as style (CSS). exported from @angular/platform-browser/index, defined in @angular/platform-browser/src/security/dom_sanitization_service.ts

JsonpModule

Experimental Class Class Overview class JsonpModule { } Class Description The module that includes jsonp's providers Annotations @NgModule({ providers: [ // TODO(pascal): use factory type annotations once supported in DI // issue: https://github.com/angular/angular/issues/3183 {provide: Jsonp, useFactory: jsonpFactory, deps: [JSONPBackend, RequestOptions]}, BrowserJsonp, {provide: RequestOptions, useClass: BaseRequestOptions}, {provide: ResponseOptions, useClass

1. Introduction

The Tour of Heroes tutorial takes us through the steps of creating an Angular application in TypeScript. Tour of Heroes: the vision Our grand plan is to build an app to help a staffing agency manage its stable of heroes. Even heroes need to find work. Of course we'll only make a little progress in this tutorial. What we do build will have many of the features we expect to find in a full-blown, data-driven application: acquiring and displaying a list of heroes, editing a selected hero's detail,

BaseResponseOptions

Experimental Class Class Overview class BaseResponseOptions { constructor() } Class Description Subclass of ResponseOptions, with default values. Default values: status: 200 headers: empty Headers object This class could be extended and bound to the ResponseOptions class when configuring an Injector, in order to override the default options used by Http to create Responses. Example (live demo) import {provide} from '@angular/core'; import {bootstrap} from '@angular/platform-browser

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

Params

Stable Type-alias Interface Overview interface Params { } Interface Description A collection of parameters. exported from @angular/router/index, defined in @angular/router/src/shared.ts

http

Module Entry point for all public APIs of the http package. BaseRequestOptions BaseResponseOptions BrowserXhr Connection ConnectionBackend CookieXSRFStrategy Headers Http HttpModule JSONPBackend JSONPConnection Jsonp JsonpModule QueryEncoder ReadyState Request RequestMethod RequestOptions RequestOptionsArgs Response ResponseContentType ResponseOptions ResponseOptionsArgs ResponseType URLSearchParams XHRBackend XHRConnection XSRFStrategy defined in @angular/http/index.ts

NgZone

Experimental Class Class Overview class NgZone { staticisInAngularZone() : boolean staticassertInAngularZone() : void staticassertNotInAngularZone() : void constructor({enableLongStackTrace = false}: any) onUnstable : EventEmitter<any> onMicrotaskEmpty : EventEmitter<any> onStable : EventEmitter<any> onError : EventEmitter<any> isStable : boolean hasPendingMicrotasks : boolean hasPendingMacrotasks : boolean run(fn: () => any) : any r

ModuleWithComponentFactories

Experimental Class Class Overview class ModuleWithComponentFactories { constructor(ngModuleFactory: NgModuleFactory<T>, componentFactories: ComponentFactory<any>[]) ngModuleFactory : NgModuleFactory<T> componentFactories : ComponentFactory<any>[] } Class Description Combination of NgModuleFactory and ComponentFactorys. Constructor constructor(ngModuleFactory: NgModuleFactory<T>, componentFactories: ComponentFactory<any>[]) Class Details n

LoadChildren

Stable Type-alias What it does The type of loadChildren. See Routes for more details. Interface Overview interface LoadChildren { } Interface Description exported from @angular/router/index, defined in @angular/router/src/config.ts