"We want to go in on a high note," Stajan said, as the Flames continue to prepare for their regular-season opener on Oct. 3 at Washington.
Marc Staal had the lone goal for the Rangers.
Leading 1-0 in the second, Wideman took Stajan's centering feed and rifled a shot past New York goalie Henrik Lundqvist.
Ramo turned aside 15 shots in the second period as the Rangers pressed to get back into the game.
Lundqvist finished with 24 saves.
"We've got a lot of kids that are catching my attention," Rangers coach Alain Vigneault said.
Material from wire services was used in this report.