With the patch from PR #69 the code snippet below will generate both the false translation keys active and non-active in addition to the correct one STATE_LABEL.
<a ng-class=" state==3 ? 'active': 'non-active'">
<span>3</span> {{'STATE_LABEL' | translate}}
</a>
If I disable the HtmlFilterTernary regex (by commenting it out in tasks/angular-translate.js the extraction works as expected (only extracting STATE_LABEL).