Gagne scored the tiebreaker on a power-play with less than nine minutes left to lead the Flyers to a 4-3 victory over the New York Islanders on Tuesday night.
"It was a nice play by Richie," Gagne said. "I was walking in with my speed and when you get a chance like that, your shot is going to come pretty hard at the net. I was able to find a little bit of space on the glove side."
Gagne scored his team-leading 14th goal on a one-timer from the top of the left circle at 11:08 of the third period -- just 11 seconds after Brendan Witt was called for interference -- to help the Flyers move into a tie with Pittsburgh for second place in the Atlantic.
"I had a lot of time, and as a player you like when you get a chance to get a slap shot," Gagne said.
Islanders goaltender Yann Danis said Gagne just made a good shot.
"I was at the top of my crease and had a good look at it, but it just beat me," Danis said.
Danis, recalled from AHL Bridgeport on Nov. 28, stopped 21 shots in his second start of the season for the Islanders. Joey MacDonald started the last 17 games for New York.
Blake Comeau had pulled the Islanders into a 3-3 tie at 2:17 of the third period with his first goal since last March 29.
Arron Asham, Darroll Powe and Jeff Carter also scored for Philadelphia, which is unbeaten in regulation in its last seven home games (5-0-2). Carter tied Buffalo's Thomas Vanek for the NHL lead with his 20th goal.
Philadelphia started the season by dropping their first six games, but the Flyers are now within four points of the first place New York Rangers in the Atlantic Division. Coach John Stevens said the Flyers are trying to take advantage of their current stretch of eight of 11 games at home before Christmas.
"There are so many teams above you, around you, below you, I think we have to tackle each game as it comes," Stevens said. "We were trying to get into that top eight and now we are trying to climb as far as we can and take advantage of these games at home."
Biron made 24 saves to win his ninth straight start against the Islanders going back to last season.
The Islanders scored twice in the span of 1:01 to take a 2-0 lead midway through the first period.
Hilbert redirected Chris Campoli's shot into the net on a power play at 9:23, and Weight put in a backhanded rebound at 10:24.
Asham got the Flyers to within 2-1 at 11:55 with his second goal of the season and first in 15 games. He scored on a one-timer from the slot after taking a pass from behind the net from Riley Cote, who outmuscled Islanders winger Jon Sim along the boards for the puck.
Powe made it 2-2 with his first NHL goal at 8:09 of the second period, hammering in a rebound after Danis couldn't handle Mike Richards' shot from the left circle.
Carter put the Flyers ahead at 16:02 of the period on a rebound of a shot by Scottie Upshall.
Philadelphia had won two of its previous three games, all in overtime. ...The Islanders played the second of four road games with trips to Pittsburgh and Columbus coming up. ... New York suffered its first loss in the second half of five back-to-back games. ... Islanders defenseman Campoli played in his 200th NHL game.