Skip to content

Commit

Permalink
Merge pull request #149 from yoava/master
Browse files Browse the repository at this point in the history
fix(TranslateService): Remove Http dependency from the TranslateService class
Fixes #146
  • Loading branch information
ocombe authored Jun 22, 2016
2 parents 0bbb8fc + 85060d5 commit 7c56276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/translate.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c56276

Please sign in to comment.