ANAHEIM, Calif. (AP) -- Nathan Eovaldi pitched scoreless, five-hit ball into the sixth inning, Garrett Jones homered and the New York Yankees snapped their three-game skid with a 3-1 victory over the Los Angeles Angels on Wednesday night.

Didi Gregorius of the New York Yankees hits an RBI single at Angel Stadium of Anaheim. (Stephen Dunn, Getty Images)

Chase Headley and Didi Gregorius had run-scoring singles for the Yankees, who had lost seven of 10 before salvaging the finale of their seven-game road trip.

Mike Trout homered for the Angels, whose four-game winning streak ended while their front office was in upheaval.

The Angels announced general manager Jerry Dipoto's resignation during the game, replacing him with former GM Bill Stoneman. Dipoto apparently quit due to conflicts with manager Mike Scioscia, who has denied any problems.

Los Angeles (41-38) failed to move five games above .500 for the first time this season.

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)