In a method to excite a magnetization in the generation of MR angiography images with the TOF technique, a slice plane is determined in which the magnetization for the generation of the MR angiography images should be excited, a position of a vessel in the slice plane is determined, and the magnetization is excited in the slice plane such that the magnetization in the vessel has a flip angle gradient in the direction of the vessel.