<selectclass="gf-form-input"ng-model="ctrl.panel.repeatDirection"ng-options="f for f in ['X', 'Y']">
<selectclass="gf-form-input"ng-model="ctrl.panel.repeatDirection"ng-options="f.value as f.text for f in [{value: 'v', text: 'Vertical'}, {value: 'h', text: 'Horizontal'}]">