Psychic Detective Yakumo is a pretty dark anime and it has a pretty good ending in the fact the main character was able to overcome his past. And I absolutely pag-ibig this anime. I don't want to say much madami and give it away XD
I also like Shugo Chara! and Uta no Prince-sama for madami upbeat and happier animes. Their endings are great too!