angular-gettext
angular-gettext copied to clipboard
Comments for attributes
Is there any way to be able to put translation comments for attributes?
e.g.
<!-- /// verb -->
<button title="{{'delete'|translate}}">X</button>
I haven't found a workaround for this. I guess you could bind the controller, and provide the comments through JavaScript. But that feels odd.