JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app="test" ng-controller="test">
    <div>
        <select name="repeatSelect" 
                id="repeatSelect" 
                ng-model="selectEntireObject" 
                ng-options="option.name for option in data track by option.id">
        </select>
        {{selectEntireObject}}
    </div>
    <div>
        <select
                ng-model="selectJustId" 
                ng-options="option.id as option.name for option in data">
        </select>
        {{selectJustId}}
    </div>
</div>

JavaScript

angular.module('test', [])
    .controller('test', ['$scope', function ($scope) {
    	$scope.data = [{name: 'one', id: 1}, {name: 'two', id: 2},{name: 'three', id: 3}];
    	$scope.selectEntireObject = $scope.data[0];
        $scope.selectJustId = $scope.data[1].id;
    }]);