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.
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'
Exploding whale video goes viral on Internet