Troy Terry also scored for Anaheim, Adam Henrique and Frank Vatrano added empty-netters and Lukas Dostal made 23 saves. The Ducks improved to 8-20-3, ending a three-game skid.
Dostal was called up from San Diego of the AHL only five days ago.
''I had pure joy before the game,'' Dostal said. ''I was nervous and the guys were saying how awesome it is to play here, so I was just wondering about the atmosphere, right? And, I can tell. It was awesome.''
Dostal won for the second time in the NHL.
''He was like a kid in a candy store,'' Ducks coach Dallas Eakins said. ''This is a very special building, obviously. And when I went after the game, just to talk to him for a couple minutes alone, that's all he talked about was the building, the atmosphere, how much fun it was and it kind of reminds you that this is a game and it's supposed to be fun.''
Cole Caufield had two third-period goals for Montreal. Jake Allen stopped 27 shots.
''I just think we could've found our game a little bit,'' Caufield said. ''We were playing with a lot more fight down two, nothing to lose really, and we battled back so you can look at that as a positive, but we just came up short.''
The Ducks entered without a goal in their past two games and a total of eight periods. They changed that with two quick goals late in the first period.
Terry broke through on a power play with 2:32 to go with his 12th of the season, and Klingberg connected 28 seconds later.
After Montreal rallied to tie it, Klingberg restored the Ducks' lead at 10:55 of the third with a slap shot from the point.
Ducks: At Edmonton on Saturday.
Canadiens: Host Tampa Bay on Saturday night.
AP NHL: https://apnews.com/hub/NHL and https://twitter.com/AP-Sports
Copyright 2023 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.