Trailing 2-1 entering their final at-bat, the Dodgers started their comeback when Juan Uribe drew a leadoff walk from Angels closer Jordan Walden (1-2). Dee Gordon came in to pinch-run and stole second, after which Dioner Navarro drew a walk.
Jamey Carroll's sacrifice bunt advanced the runners and Gordon tied the game on Aaron Miles' sacrifice fly.
Gwynn (3-for-5, two RBI) then lined a 2-2 pitch to right, plating pinch runner Trent Oeltjen without a throw as the Dodgers avoided a three-game sweep at the hands of the Angels.
Clayton Kershaw (8-3) tossed his second straight complete-game win, fanning 11 batters while shutting the Angels down on two runs. He allowed six hits and walked none, throwing 77 of his 114 pitches for strikes.
Angels starter Jared Weaver yielded only one run on seven hits over seven frames.
Vernon Wells socked a solo homer in the ninth to give the Angels a 2-1 lead.