JSFiddle - React, Tailwind, and code Playground

HTML

<body ng-app="demoApp">
    <div ng-controller="DemoController">
        <div>
            <h2>Shiny label</h2>
            <select ng-model="shiny"
                ng-options="opt.value as opt.label for opt in options">
            </select>

            The value selected is {{ shiny }}.
        </div>
        <div>
            <h2>Complex object</h2>
            <select ng-model="complex"
                ng-options="opt.value as opt.label for opt in options track by opt.value">
            </select>

            The value selected is {{ complex }}.
        </div>

    </div>
</body>

JavaScript

angular.module('demoApp', []).controller('DemoController', function($scope) {

  $scope.options = [
    { label: 'one', value: 1 },
    { label: 'two', value: 2 }
  ];
    
  $scope.shiny = 2;    
  $scope.complex = 2;
});