Troy Terry gave the Ducks a 1-0 lead at 3:40 of the first period. He kicked Mason McTavish's pass into the slot up to his stick, catching Demko moving the wrong way before lifting a backhand over the goalie's extended right pad.
Miller, playing his 700th NHL game, tied it 1-1 short-handed at 14:44, one-timing a pass into the slot over Dostal's blocker shoulder after Pettersson knocked the goalie's pass out of the air behind the net and centered it.
Pettersson leads the NHL with eight short-handed points (four goals, four assists).
"I felt the goalie only had one play and that was to pass through me, and I was able to intercept," Pettersson said. "I had a feeling [Miller] would be there, I looked up and he was wide open. My pass wasn't the best, but he still found a way to score it."