I am encountering an issue with my current setup of intellij: HTML templates are being mistaken for typescript source files in my angular app.
I am therefore getting lots of errors such as : TS2304: Cannot find name 'dialog'. etc...
How can I fix that ?
Thanks in advance,