Translation works fine until I try to translate a placeholder:
<input type="text" placeholder="{{'TASKDETAILS_LOCATION_PLACEHOLDER' | translate}}" ng-model="selectedTask.location">
Code example: http://jsfiddle.net/eq4bq0mL/5/
Is it something to do with the sanitization? Any solution to this?
update
I played with the sanitization strategy following @AWolf suggestion. There seems to be few options "escape", "sanitize", "sanitizeParameters":
$translateProvider.useSanitizeValueStrategy('sanitize');
sanitizeParameters seems to work but I am not sure whether it's safe? Are there any downsides of using it as a strategy? The API docs don't seem to elaborate on that.