我试图加载我的网站dynamially.I的一部分都为我的图标图标类在这样 import { OpaqueToken } from "@angular/core";
import {IAppConfig} from './app.interface'
export let APP_CONFIG = new OpaqueToken("app.config");
export const A
服务 let options = new RequestOptions({ headers: this.headers });
let body = JSON.stringify(this.params);
return this.http.post(this.url,body, options)
.map((res: Response) => res.json()
我构建了角2应用程序,我需要一种方法来获取对由角框架注入/实例化的服务/类的引用。 我有一个通用类...让我们打电话自定义类,我使用整个网站。然而,这个类是由我实例化的,而不是角2。现在,我需要使用该类中的角2实例化的一些服务。 即 // this is not angular component/service
export default class Custom {
const