Ryan added an assist and Teemu Selanne scored for the Pacific Division-lead Ducks, who notched a win in the first of three games over five days against Dallas.
Kari Lehtonen made 26 saves for the Stars, who remained on the outside of the Western Conference playoff picture.
They fell three points behind St. Louis for the eighth and final post-season slot with the loss.
Puzzle-maker slips 'Murdoch Is Evil' into Rupert Murdoch's Sunday Telegraph
Campus cop fatally shoots Texas student during traffic stop