<div class="gcscalevalue" ng-if="showScaleTool">
  <div class="sub">
    <div class="row">
      <div class="col-md-8">
        <span ng-if="!setInput">{{scalevalue.value}}</span>
        <span ng-if="setInput">1:</span>
        <input
          ng-if="setInput"
          type="text"
          name="val"
          class="form-control"
          ng-model="scalevalue.selected"
        />
      </div>
      <div class="col-md-4">
        <select
          ng-options="s.value as s.label for s in scalevalue.scalevaluelist"
          ng-model="scalevalue.selected"
          class="selectScale pull-right"
        ></select>
      </div>
    </div>
  </div>
</div>