Andersen, a 24-year-old rookie goaltender from Denmark, yielded just a second-period goal to Michael Del Zotto en route to a fourth win in four career starts.
First-period goals from Corey Perry and Kyle Palmieri stood up for the Ducks, who completed an eight-game Eastern Conference road trip with a 5-2-1 mark and improved their points total to 25, best in the NHL.
Henrik Lundqvist stopped 23-of-25 shot for the Rangers, whose three-game winning streak was snapped.
Wisconsin business offering 'therapeutic cuddling' forced to close
Exploding whale video goes viral on Internet