ANAHEIM, Calif. — Rookie Mark Trumbo hit a game-ending two-run homer down the left-field line, and the Los Angeles Angels beat the Texas Rangers 2-1 on Thursday night to avoid a four-game sweep. After Torii Hunter led off the ninth with a single, Trumbo hit his 23rd homer of the season off Mike Adams (1-2), snapping the Angels’ five-game skid and ending Texas’ six-game winning streak with one dramatic swing. Trumbo’s shot abruptly ended four days of offensive frustration and set off an unlikely celebration on the field for the Angels, who were in danger of falling eight games behind Texas in the AL West race.