Measurement of Wγ and Zγ production in proton-proton collisions at $ \sqrt {s} = 7 $ TeV with the ATLAS detector