Probing new physics in Higgs couplings to fermions using an angular analysis