<selectclass="gf-form-input gf-size-auto"ng-model="current.type"ng-options="v.id as v.name for v in types"ng-change="typeChanged()"></select>
<selectclass="gf-form-input gf-size-auto"ng-model="ctrl.current.type"ng-options="v.id as v.name for v in ctrl.types"ng-change="ctrl.typeChanged()"></select>