added SearchController.groupMatchesByDate and ng-repeats in search.html