W3cubDocs

/Angular 2

NgModuleFactoryLoader

Stable Class

Class Overview

class NgModuleFactoryLoader {
  load(path: string) : Promise<NgModuleFactory<any>>
}

Class Description

Used to load ng module factories.

Class Details

load(path: string) : Promise<NgModuleFactory<any>>

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

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/NgModuleFactoryLoader-class.html