I am using acute.select in my angularjs project. I have an array:
$scope.users = [];
$scope.acuteusers =[{UserName:"john"},{UserName:"joe"},{UserName:"mary"}];
        $scope.stateSelected = function(state){
            console.log(state);
            for (var i = 0; i < $scope.acuteusers.length; i++) {
                if (state.UserName == $scope.acuteusers[i].UserName) {
                    $scope.acuteusers.splice(i,1);
                };
            };
            console.log($scope.acuteusers);
        }
and html:
<select class="ac-select stateList" ac-model="users" ac-options="s.UserName for s in acuteusers" 
        ac-settings="{ comboMode: true, loadOnOpen: true, minWidth: '470px' }" ac-change="stateSelected(value)" >
      </select>
I want to take out the element from acute.select dropdown list everything an element is selected. But somehow it will remain as initial states(no element is deleted) even the console.log show it already taken out. How can I resolve that?
 
    