I am using Angular 1.x and it's Angular Translate module. Recently, I switched all my translation bindings from two-way to one-time. Everything worked fine, until one day, however, I noticed that sometimes if I started refreshing the page, the translations are not actually getting translated.
Example:
{{ ::'MyTranslationKey' | translate }}
In 90% of the times the result is correct. In the other 10%, however, the rendered result is:
MyTranslationKey
What's the reason for this and how can I fix it?
Edit:
This doesn't happen to elements that are inside ng-if, ng-repeat or directives - e.g. when they are inside a child scope.