"I've been chasing a little higher rate lately because I think I was trying to chase hits, I guess, instead of chase good pitches to hit," Bregman said. "I kind of made that adjustment today and started swinging at pitches I could hit."

Bregman upped the lead to 5-0 with a three-run homer in the third -- the All-Star infielder hit 31 home runs last season.

"His year is excellent," Houston manager AJ Hinch said. "The way he's gone about it, the way he's responded to a few different parts of his season has been very mature. It's really ironic he's having a ton of success and getting a lot of hits, yet he's still chasing quite a bit which is leaving him a little hungry to figure out the best version of himself."

The AL-West leading Astros tied the New York Yankees for the best record in the AL at 84-47. The Angels lost their fourth in a row.

Michael Brantley extended his hitting streak to 17 games with a two-run homer in the first inning.

Miley (13-4) yielded one run on five hits with four strikeouts over five innings. He retired the first nine batters before David Fletcher doubled to lead off the fourth.

Miley ran into trouble in the fifth, loading the bases with two outs, but induced a flyout by Mike Trout to end the inning.

"I was locating the ball really well," Miley said. "That was a weird fifth inning. It happened a lot early. I kind of lost command a little bit. I wasn't landing pitches where I wanted to, but end of the day, we walk out of here with a win."

Astros: INF Aledmys Diaz began a rehabilitation assignment with Triple-A Round Rock. He went 0 for 4. ... RHP Josh James (shoulder soreness) will continue his rehabilitation assignment on Sunday with Round Rock. ... RHP Brady Rodgers cleared waivers and was unconditionally released. He was designated for assignment on Thursday.

YORDAN HITS SCOREBOARD

Houston rookie Yordan Alvarez launched a home run during batting practice that hit the bottom right hand corner of the Astros' massive scoreboard above right field. The monster drive darkened a panel on the board. During the first inning, a message in that corner of the scoreboard read "Alvarez hit the ball here during BP."

"I was definitely not thinking about that, but from the time I've been here, the players have been asking me When are you going to hit one off the scoreboard? When are you going to do that," Alvarez said through a translator. "I was just trying to hit the ball hard, and it ended up hitting the scoreboard."

UP NEXT

Angels: RHP Jaime Barria (4-6, 6.35 ERA) starts the finale of the three-game series on Sunday looking to build off his last start in the second game of Tuesday's doubleheader against the Rangers in which he allowed two runs over five innings.

Astros: LHP Framber Valdez (3-6, 5.58) will be recalled from Triple-A Round Rock and start on Sunday. Valdez has lost four straight starts with the Astros, with his last start July 15 against the Angels.