JSFiddle - React, Tailwind, and code Playground
by manoj
HTML
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>
<body ng-app="myApp" ng-controller="FooListCtrl">
<span ng-repeat="foolist in foos">
<select ng-model="selected" ng-options="foo for foo in foolist" multiple="multiple">
</select>
{{selected}}
</span>
{{selected}}
</body>
JavaScript
'use strict';
var app = angular.module('myApp', []);
function FooListCtrl($scope) {
$scope.foos = {"Bar": [ "foo", "bar"]};
$scope.selected = [];
}