I use angular-translate and it suggests to use ngSanitize. I just implemented it, but now, characters such as &
display as &
, and the string Next>
now displays as Next>
because they are sanitized.
My HTML is very simple such as:
<div>{{"SALES_MKT" | translate}}</div>
and in my translation file, I simply have something like:
var translationsEN = {
SALES_MKT: 'Sales & Marketing'
}
There must be a way to escape these characters in a safe way? I have tried to use %xx codes, but they are not translated.
Any suggestions?