The contact angle equilibrium