LOS ANGELES -- Andre Ethier was fixated on having a good at-bat rather than the pressure of the moment when he came to the plate with the Los Angeles Dodgers trailing by a run in the eighth inning.

Former Angel Juan Rivera hit a three-run home run and Ethier added his 500th career RBI, helping the Dodgers rally to beat the Angels 5-2 Tuesday night and end their 10-game road winning streak.

"I was focused on the task at hand, having the same good approach and the same good swing," Ethier said. "When you focus on that instead of the outcome, good things happen."

Jamey Wright (3-2) pitched a perfect eighth inning for the victory. Kenley Jansen retired the side in order in the ninth to earn his 10th save in 13 opportunities as the Dodgers stopped their five-game skid at home.

Ethier's run-scoring single tied the game 2-2 hours after the right fielder received an $85 million, five-year contract from the team that goes through 2017. He leads the NL with 54 RBIs.

He didn't realize he reached a career mark with the RBI that the sellout crowd of 55,279 almost seemed to demand.

"It's fun to see they're going to start stacking up in this Dodger uniform," Ethier said, adding that "it's fun they have that much belief in you."

Angels pitching coach Mike Butcher visited the mound before Rivera drove Jerome Williams' next pitch to left field for a 5-2 lead. It was Williams' 102nd and final pitch.

"I tried to hit the ball hard," Rivera said, insisting the homer wasn't extra special because it came against his old team. "I just tried to do my job."

The entire inning was set up when second-base umpire Joe West called Dee Gordon safe on a two-out stolen base. Television replays appeared to show the throw from catcher Hank Conger beat the runner. Angels manager Mike Scioscia argued to no avail on his bobblehead night against his former team.

"Joe said he was safe. He said he saw his hand get in there," Scioscia said. "I don't need to see a replay. I thought he was out. Obviously, it's a big play. We didn't get the call to get out of the inning, but we had a lot of chances."

Williams (6-4) gave up five runs and six hits in 7 2/3 innings. He struck out a season-high seven and walked three in his second straight loss and first interleague start since July 4, 2004. The Angels' loss kept them from tying the club record for consecutive road wins, set in 1988.

"It's very difficult losing like that, but you can't let that bother you," Williams said. "Tomorrow I'm going to come back here and look at some video and try to get better."