multiselect document ng-repeat refactor issue