<span class="anchor-element">
  <a ng-href="{{ href }}" ng-show="href && !isOnlyText" target="{{ target }}"><span ng-transclude></span></a>
  <span ng-show="!href || isOnlyText"><span ng-transclude></span></span>
</span>
