diff --git a/README.md b/README.md index 75b6aa08..4dad46c9 100644 --- a/README.md +++ b/README.md @@ -466,8 +466,10 @@ You can use `useDefaultLang` to decide whether default language string should be Create a Missing Translation Handler ```ts +import {Injectable} from "@angular/core"; import {MissingTranslationHandler, MissingTranslationHandlerParams} from '@ngx-translate/core'; +@Injectable() export class MyMissingTranslationHandler implements MissingTranslationHandler { handle(params: MissingTranslationHandlerParams) { return 'some value';