Issue
In my template there is a static text, that contains email, like email@domain.com
,
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@domain.com' }}
Solution
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.
Answered By - Felix
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.