SAN FRANCISCO -- Pinch hitter Joe Panik singled in the winning run with two outs in the bottom of the ninth, lifting the San Francisco Giants past the Los Angeles Angels 3-2 on Friday night.