fixed ng-repeat issue and date service issue