In .js files triple nested quotes ("one'two"three"'") can be escaped (see this post) and in HTML this can also be achieved using character references (see this post). I have a problem achieving this in an AngularJS expression in my template.
I need to put this:
{{ 'PLURAL' | translate:"{ GENDER: 'male' }":"messageformat" }}
Into a placeholder element:
<input placeholder="{{ 'PLURAL' | translate:"{ GENDER: 'male' }":"messageformat" }}">
How should I escape the quotes to make it work?