server {
listen 80;
server_name youtrack;
location / {
proxy_pass http://10.1.4.121:40003;
proxy_set_header Host $http_host;
}
}
ngAfterViewInit() {
System.import('app/t.module').then((module) => {
_compiler.compileModuleAndAllComponentsAsync(module.TModule)
.then((compiled) => {
const m = compiled.ngModuleFactory.create(this._injector);
const factory = compiled.componentFactories[0];
const cmp = factory.create(this._injector, [], null, m);
})
})
}