Updating ng-model with proper value after element is picked from list.