Ninth-inning rally pushes the Angels over the top