Inside Out - S4-E17
Angel: All this time, it was you, wasn't it?
Cordelia: Took you long enough to figure it out. But nice turn with the Lorne bait. You know, there was a time I would have seen that one coming eons before it ever crossed your tiny little mind.
Angel: Because you're so clever.
Cordelia: On a scale of you to me? Pretty damn.
Answer: Everybody including Angel saw her. After helping them and then being left alone to talk to Angel, Cordelia says that the Powers That Be let her come back one more time to help them. After Angel gets a call saying that she died, he realises that it was her spirit that was helping them the entire time.