JSFiddle - React, Tailwind, and code Playground

by FCortesF

HTML

<div ng-app="exampleMod">
    <div ng-controller="selectOptController">
        <select ng-model="act" ng-options="action.act+' - '+action.lvl for action in actions | orderBy:'lvl'">
            <option value=""></option>
        </select>
    </div>
</div>

JavaScript

angular.module("exampleMod", []);
angular.module("exampleMod").controller('selectOptController', ["$scope", function ($scope) {
    $scope.actions = [{
        act: "Hit",
        lvl: "20"
    }, {
        act: "Jump",
        lvl: "2"
    }];
}]);