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.
Boston schools pull out free condoms over wrapping complaints
Millions of Getty images now available for free via embed tool