You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 20, 2019. It is now read-only.
say you retrieve content from a web service and in this content, you have "{" character. ng-dynamic will try to compile it but the compiler will think that you're trying to interpolate something and will fail. I implemented a similar component and made it work by adding this:
Hi,
say you retrieve content from a web service and in this content, you have "{" character. ng-dynamic will try to compile it but the compiler will think that you're trying to interpolate something and will fail. I implemented a similar component and made it work by adding this:
this.content = this.content.replace(/{/g, "{{ '{' }}");
This allows to espace the opening curly braces, and then everything works.
The text was updated successfully, but these errors were encountered: