ViewContainerRef

Stable Class Class Overview class ViewContainerRef { element : ElementRef injector : Injector parentInjector : Injector clear() : void get(index: number) : ViewRef length : number createEmbeddedView(templateRef: TemplateRef<C>, context?: C, index?: number) : EmbeddedViewRef<C> createComponent(componentFactory: ComponentFactory<C>, index?: number, injector?: Injector, projectableNodes?: any[][]) : ComponentRef<C> insert(viewRef: ViewRef, index?: numbe

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

AnimationMetadata

Experimental Class Class Overview class AnimationMetadata { } Class Description exported from @angular/core/index, defined in @angular/core/src/animation/metadata.ts

TypeScript Configuration

TypeScript configuration for Angular 2 developers TypeScript is a primary language for Angular application development. It is a dialect of JavaScript with design-time support for type-safety and tooling. Browsers can't execute TypeScript directly. Typescript must be "transpiled" into JavaScript using the tsc compiler, which requires some configuration. This page covers some aspects of TypeScript configuration and the TypeScript environment that are important to Angular developers, including det

Browser support

Browser support and polyfills guide. Browser support Angular supports most recent browsers. This includes the following specific versions: Chrome Firefox Edge IE Safari iOS Android IE mobile latest latest 14 11 9 9 Marshmallow (6.0) 11 13 10 8 8 Lollipop(5.0, 5.1) 9 7 7 KitKat(4.4) Jelly Bean(4.1, 4.2, 4.3) Angular's continuous integration process runs unit tests of the framework on all of these browsers for every pull request, using SauceLabs and Browserstack. Polyfills Angul

HostBinding

Stable Interface Interface Overview interface HostBinding { hostPropertyName : string } Interface Description HostBinding decorator and metadata. Interface Details hostPropertyName : string exported from @angular/core/index, defined in @angular/core/src/metadata/directives.ts

Router

Stable Class What it does Provides the navigation and url manipulation capabilities. See Routes for more details and examples. Class Overview class Router { constructor(rootComponentType: Type<any>, urlSerializer: UrlSerializer, outletMap: RouterOutletMap, location: Location, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes) errorHandler : ErrorHandler navigated : boolean config : Routes initialNavigation() : void setUpLocationCh

RequestOptions

Experimental Class Class Overview class RequestOptions { constructor({method, headers, body, url, search, withCredentials, responseType}?: RequestOptionsArgs) method : RequestMethod|string headers : Headers body : any url : string search : URLSearchParams withCredentials : boolean responseType : ResponseContentType merge(options?: RequestOptionsArgs) : RequestOptions } Class Description Creates a request options object to be optionally provided when instantia

NgFor

Stable Directive Class Overview class NgFor { constructor(_viewContainer: ViewContainerRef, _template: TemplateRef<NgForRow>, _differs: IterableDiffers, _cdr: ChangeDetectorRef) ngForOf : any ngForTrackBy : TrackByFn ngForTemplate ngOnChanges(changes: SimpleChanges) : void ngDoCheck() } Selectors [ngFor][ngForOf] Class Description The NgFor directive instantiates a template once per item from an iterable. The context for each instantiated template inherits from t

Pipes

Pipes transform displayed values within a template. Every application starts out with what seems like a simple task: get data, transform them, and show them to users. Getting data could be as simple as creating a local variable or as complex as streaming data over a Websocket. Once data arrive, we could push their raw toString values directly to the view. That rarely makes for a good user experience. E.g., almost everyone prefers a simple birthday date like April 15, 1988 to the original raw st