I have the following ui-select code in angular and I want to get all the selected values in order to put them in a string. THe selection works well I can choose the product but I cannot get which values I have selected
<ui-select multiple ng-model="multipleDemo.selectedProducts" theme="bootstrap" ng-disabled="disabled">
<ui-select-match class="ui-select-match" placeholder="Επιλογή προϊόντος...">{{$item.name}}</ui-select-match>
<ui-select-choices class="ui-select-choices" repeat="product in products | propsFilter: {name: $select.search}">
<div ng-bind-html="product.name | highlight: $select.search"></div>
</ui-select-choices>
</ui-select>
In the controller I have
$scope.multipleDemo = {};
$scope.multipleDemo.selectedProducts = [];
If I write a div like this
</div>
<div>{{multipleDemo.selectedProducts}}</div>
</div>
then I do not see anynthing in this div. Could anyone help with this?