I believe it was the second last episode of Angel. But futher proof is found on the commentary for A Hole In The World where Joss flat out says that Spike and Angelus had sex and that all vampires are effectively bisexual as they have no reason to resist any impulses they might have so if they're curious they do it.