Is there a way to use the filter inside the ng-if statement?
eg:
<div ng-if="someVarString == ('someValue' | translate )">
<span>Hello</span>
</div>
Note: the translation filter returns a string
I know how to do this inside the controller, but I would like to use it in HTML
source
share