<span ng-if="menuItem.isIconVisible"
      class="menu-item-icon icon-fw {{ iconBaseClass() }} {{ menuItem.iconClass}}"></span>
<span ng-if="menuItem.text"
      class="menu-item-text"> {{ menuItem.text|translate }}</span>
<span ng-if="menuItem._ngBindHtml()" ng-bind-html="menuItem._ngBindHtml()"></span>

<span ng-if="menuItem.isIconVisible"
      class="menu-item-icon icon-fw {{ iconBaseClass() }} {{ menuItem.iconClass}}"></span>
<span ng-if="menuItem.text"
      class="menu-item-text" translate="{{ menuItem.text }}"></span>
<span ng-if="menuItem._ngBindHtml()" ng-bind-html="menuItem._ngBindHtml()"></span>

Replace translate filter with directive
Replace translate filter with directive

Uses the translate directive rather than the filter to reduce watch expressions, as per https://angular-translate.github.io/docs/#/guide/05_using-translate-directive