1
有一類像下面,如何解決和AngularJS噴油器創建的一般類
export class SiteEventServiceType<T> {
}
我怎麼需要使用angularjs 2噴油器上面的類創建實例。
嘗試,但不工作:
Injector.resolveAndCreate([SiteEventServiceType<string>]).get(SiteEventServiceType<string>);