angular-gettext
angular-gettext copied to clipboard
translate-context in the filter
Does the filter support context? If not, is there any way to work around this?
Did you ever figured out how to do it?
If not, you can provide the context to the translate filter by adding a parameter to the filter markup:
<div>{{somedata | translate:"mycontext"}}</div>.
This is not documented in angular-gettext but this is normal angular filter functionality.