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.
Britney Spears on kissing Ryan Gosling, Justin Timberlake in the Mickey Mouse Club
Caroline Berg Eriksen: Soccer player's wife triggers debate with post-birth selfie