The chiral interaction between light and matter has brought chiral quantum optics into a flourishing stage. Here, we explore the perfect chiral interaction between the atoms with elliptically polarized dipoles and waveguide modes, and find that ideal unidirectional radiation can be obtained by adjusting the position and polarization of atoms. When there are two waveguide modes in the system, by controlling the polarization of the dipoles, the dipoles can radiate not only the unidirectional single waveguide mode, but also two seperated waveguide modes.