From 85060d5f90968cbb3e94ac482a1eb9ef20aeda79 Mon Sep 17 00:00:00 2001 From: Yoav Aharoni Date: Sun, 19 Jun 2016 10:25:50 +0300 Subject: [PATCH] #146 - Remove Http dependency from the TranslateService class --- src/translate.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translate.service.ts b/src/translate.service.ts index 688a4c1e..31270ff3 100644 --- a/src/translate.service.ts +++ b/src/translate.service.ts @@ -73,7 +73,7 @@ export class TranslateService { * @param currentLoader An instance of the loader currently used * @param missingTranslationHandler A handler for missing translations. */ - constructor(private http: Http, public currentLoader: TranslateLoader, @Optional() private missingTranslationHandler: MissingTranslationHandler) {} + constructor(public currentLoader: TranslateLoader, @Optional() private missingTranslationHandler: MissingTranslationHandler) {} /** * Sets the default language to use as a fallback