<span title="{{:: ts('Transform field using a function') }}">
  <input class="form-control fa-crm-formula crm-auto-width"
         ng-model="$ctrl.fnName"
         crm-ui-select="{data: $ctrl.getFunctions, placeholder: ' '}"
         ng-change="$ctrl.selectFunction()">
</span>
<label ng-hide="$ctrl.mode !== 'select' && !$ctrl.fn">{{ $ctrl.fieldArg.field.label }}</label>

<div class="form-group" ng-repeat="arg in $ctrl.args">

  <crm-search-function-flag ng-if="$ctrl.fn" flag="flag_before" arg="arg" param="$