I have a directive that i call using [Translation] on the element i want to translate. I have multiple components where it runs with no issues, but there is the one where it gives me the error:
"Can't bind to 'Translation' since it isn't a known property of 'textarea'."
on the line
<textarea [Translation] id="commentTxt" [(ngModel)]="commentTxt" name="commentTxt"
placeholder="Description..." rows="2" class="form-control"></textarea>
if i remove the [Translation] and compile with --live-reload, it compiles sucessfully. If after i add, save and reload, the [Translation] the web-app just works even though the error still shows on the terminal.
I have the translation service declared on a global scope on:
@NgModule({ declarations: [
...
Translation,
... ],
I have been running in circles with no idea of what might be causing this besides typo's and foolproofed if by copy->pasting working elements.
What other probable causes are there that may cause the error given above ?