Martin Hozík

Results 2 comments of Martin Hozík

You can break the dependency circle by changing HttpLoaderFactory dependency from HttpClient into HttpBackend and by creating new HttpClient. ``` export function HttpLoaderFactory(httpHandler: HttpBackend) { return new TranslateHttpLoader(new HttpClient(httpHandler)); }...

I agree. Right now there is no way to limit origins. It's not possible in .php nor in webserver config because sending multiple Access-Control-Allow-Origin is always invalid.