Query

Stable Class Class Overview class Query { descendants : boolean first : boolean read : any isViewQuery : boolean selector : any } Class Description Base class for query metadata. See ContentChildren, ContentChild, ViewChildren, ViewChild for more information. Class Details descendants : boolean first : boolean read : any isViewQuery : boolean selector : any exported from @angular/core/index, defined in @angular/core/src/metadata/di.ts

NO_ERRORS_SCHEMA

Experimental Const Variable Export export NO_ERRORS_SCHEMA Defines a schema that will allow any property on any element. exported from @angular/core/index defined in @angular/core/src/metadata/ng_module.ts

By

Experimental Class Class Overview class By { staticall() : Predicate<DebugElement> staticcss(selector: string) : Predicate<DebugElement> staticdirective(type: Type<any>) : Predicate<DebugElement> } Class Description Predicates for use with DebugElement's query functions. Static Members all() : Predicate<DebugElement> Match all elements. debugElement.query(By.all()); css(selector: string) : Predicate<DebugElement> Match elements by the given CSS

CanActivateChild

Stable Interface What it does Indicates that a class can implement to be a guard deciding if a child route can be activated. How to use class UserToken {} class Permissions { canActivate(user: UserToken, id: string): boolean { return true; } } @Injectable() class CanActivateTeam implements CanActivate { constructor(private permissions: Permissions, private currentUser: UserToken) {} canActivateChild( route: ActivatedRouteSnapshot, state: RouterStateSnapshot ): Obser

NgModule

Stable Interface Interface Overview interface NgModule { providers : Provider[] declarations : Array<Type<any>|any[]> imports : Array<Type<any>|ModuleWithProviders|any[]> exports : Array<Type<any>|any[]> entryComponents : Array<Type<any>|any[]> bootstrap : Array<Type<any>|any[]> schemas : Array<SchemaMetadata|any[]> id : string } Interface Description NgModule decorator and metadata Interface Details provid

AnimationStyleMetadata

Experimental Class Class Overview class AnimationStyleMetadata { constructor(styles: Array<string|{[key: string]: string | number}>, offset?: number) styles : Array<string|{[key: string]: string | number}> offset : number } Class Description Metadata representing the entry of animations. Instances of this class are provided via the animation DSL when the style animation function is called. Constructor constructor(styles: Array<string|{[key: string]: string | nu

SystemJsNgModuleLoader

Experimental Class Class Overview class SystemJsNgModuleLoader { constructor(_compiler: Compiler, config?: SystemJsNgModuleLoaderConfig) load(path: string) : Promise<NgModuleFactory<any>> } Class Description NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory Annotations @Injectable() Constructor constructor(_compiler: Compiler, config?: SystemJsNgModuleLoaderConfig) Class Details load(path: string) : Promise<NgModuleFactory<any>> expor

ChangeDetectionStrategy

Stable Enum Class Overview class ChangeDetectionStrategy { OnPush Default } Class Description Describes within the change detector which strategy will be used the next time change detection is triggered. Class Details OnPush OnPush means that the change detector's mode will be set to CheckOnce during hydration. Default Default means that the change detector's mode will be set to CheckAlways during hydration. exported from @angular/core/index, defined in @angular/core/src/change_d

Data

Stable Type-alias What it does Represents the static data associated with a particular route. See Routes for more details. Interface Overview interface Data { } Interface Description exported from @angular/router/index, defined in @angular/router/src/config.ts

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