Compiler

Stable

Class

Class Overview

class Compiler {
compileModuleSync(moduleType: Type<T>) : NgModuleFactory<T>
compileModuleAsync(moduleType: Type<T>) : Promise<NgModuleFactory<T>>
compileModuleAndAllComponentsSync(moduleType: Type<T>) : ModuleWithComponentFactories<T>
compileModuleAndAllComponentsAsync(moduleType: Type<T>) : Promise<ModuleWithComponentFactories<T>>
getNgContentSelectors(component: Type<any>) : string[]
clearCache() : void
clearCacheFor(type: Type<any>)

}

Class Description

Annotations

@Injectable()

Class Details

exported from @angular/core/index, defined in @angular/core/src/linker/compiler.ts