In my template there is a static text, that contains email, like [email protected]
,
since in Angular recently were added deferred views, ti seems that the @
symbol is considered like system character, and the parser blames that the template is invalid because of that.
Is there a proper way to escape that?
For now I just interpolate the email as a text, like {{ '[email protected]' }}
If you run ng generate @angular/core:control-flow
to automatically convert your templates to the new templating syntax it updates all @
to @
. So I guess that's the way to go.