Measurement of the Weinberg angle in neutrino interactions