<div class="form-group regex">
    <span class="hintbox-label">
      <label for="visEditorRawJson{{agg.id}}">
        JSON Input
        <icon-tip
          position="'right'"
          content="'Any JSON formatted properties you add here will be merged with the elasticsearch aggregation definition for this section. For example \'shard_size\' on a terms aggregation.'"
        ></icon-tip>
      </label>
    </span>
  <p>
    <textarea
      type="text"
      id="visEditorRawJson{{agg.id}}"
      class="form-control"
      ng-model="agg.params.json"
      validate-json
      ></textarea>
  </p>
</div>
