I'm trying to use ng-pluralize to conditionally display HTML based on yml translations. Unfortunately, the HTML is ignored by ng-pluralize and displayed as a string literal with the count interpolated. Is it possible to do what I'm trying to?
HAML
%span(ng-if="user.streak_count" ng-pluralize
count="user.streak_count" when="{'1': #{t('.one_streak_html')},
'other': #{t('.streak_html')} }")
YML
streak_html: "'<b>{}</b> days in a row'"
one_streak_html: "'<b>{}</b> day in a row'"
Displayed
<b>2</b> days in a row