closestItemId double-$apply fix