It's certainly doable to use angled valves ,but you need to be very accurate in positioning the pipework.
If your not confident ,use the elbow and short vertical stub of pipe.
If the pipes are copper , buried in the wall cover them with duct tape before plastering/ cementing over.