Angular: select 14386570

http://angularjs.org/

by Vladimir ShChur

HTML

<div ng-controller="MyCtrl">
    <select ng-options="item as item for item in items " ng-model="item"  ng-click="click(item)"></select>
    {{seletedQueue}}
</div>

JavaScript

var myApp = angular.module('myApp', []);

function MyCtrl($scope) {
    $scope.seletedQueue = '';
    $scope.items = 'ABCDE'.split('');
    $scope.click = function(item) {
        $scope.seletedQueue += '->' + item;
    }
}