The tilt of the velocity ellipsoid in the Milky Way with Gaia DR2