JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app>
    <div ng-controller="Ctrl">
        <select ng-model="viewmodel.inputDevice"
        ng-options="i.label for i in viewmodel.inputDevices">
        </select>
    </div>
</div>

JavaScript

function Ctrl($scope) {
     // view model
    $scope.viewmodel = new function () {
        var self = this;
        var elem1 = {
            value: '1',
            label: 'input1'
        };
        
        var elem2 = {
            value: '2',
            label: 'input2'
        }
        
        self.inputDevices = [elem1, elem2];
        
        self.inputDevice = {
            value: '1',
            label: 'input1'
        };
    };
}