refactored homepageStatsDirective and changed date in AddBlogCtrl