JSFiddle - React, Tailwind, and code Playground

by apuchkov

HTML

<div ng-controller="selectCtrl">
<select ng-model="x" ng-options="o.label for o in options"></select>

JavaScript

angular.controller('selectCtrl', function($scope){
    $scope.options = [
        {label: 'a', value: 1, someId: 333},
        {label: 'b', value: 2, someId: 555},
    ];
    
});