How to pass backend data to display as multiselect dropdown items (Jsfiddle attached)
问题 This is with reference to fiddle link -->> https://jsfiddle.net/etfLssg4/ As you can see in the fiddle, user can select multiple dropdown items. The dropdown values have been selected during initialization. Lisa and Danny are the default items selected. it gets displayed at the dropdown bar as shown in fiddle. The default values is set by this line of code. $scope.example13model = [items[2], items[4]]; Now the scenario is as follows. The backend data is passed to front end via string. it is