Contact angles on charged substrates