Probing hadronic polarizations with dilepton anisotropies