I know, this is an outdated movie. i just bought the clear version of DVD and watched it few weeks back.
its a typical love comedy. Abby(Katherine Heigl) is a morning show producer and Mike(Gerard Butler) happens to be a love guru/host for the TV show called The Ugly Truth. they started knowing each other with hatred. Mike then taught Abby on how to win her neighbour Colin's heart. and when Abby is dating Colin, she realised she has fallen in love with Mike too.
the ending?? of course both Abby and Mike are in love. otherwise, i wont say its a typical love comedy ;)