<div class="form-group">
  <small class="pull-right">
    <a ng-href="https://adamwdraper.github.io/Numeral-js/" target="_blank">
      Docs <i class="fa fa-link"></i>
    </a>
  </small>

  <label for="scriptFieldNumeral">
    Numeral.js format pattern
    <small>
      (Default: "{{ editor.field.format.getParamDefaults().pattern }}")
    </small>
  </label>
</div>

<field-format-editor-pattern
  id="scriptFieldNumeral"
  ng-model="editor.formatParams.pattern"
  placeholder="editor.field.format.getParamDefaults().pattern"
  inputs="cntrl.sampleInputs">
</field-format-editor-pattern>

