W3cubDocs

/Angular 2

SystemJsNgModuleLoader

Experimental Class

Class Overview

class SystemJsNgModuleLoader implements NgModuleFactoryLoader {
  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>>

exported from @angular/core/index, defined in @angular/core/src/linker/system_js_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/SystemJsNgModuleLoader-class.html