angular-gettext
angular-gettext copied to clipboard
Error: [$parse:ueoe] Unexpected end of expression
Given this HTML template
<div class="hint" translate translate-params-ref-name="refName">This value will replace [[{{refName}}]] in the message.</div>
We get : Error: [$parse:ueoe] Unexpected end of expression: {refName
.
This error only happens when the translated string actually exists, if the string is missing, then the error does not occur and the template behaves as it should.