<selectclass="gf-form-input gf-size-auto"ng-model="ctrl.target.resultFormat"ng-options="f.value as f.text for f in ctrl.resultFormats"ng-change="ctrl.refresh()"></select>
<selectclass="gf-form-input gf-size-auto"ng-model="ctrl.target.format"ng-options="f.value as f.text for f in ctrl.formats"ng-change="ctrl.refresh()"></select>