diff --git a/js/angular/service/delegateService.js b/js/angular/service/delegateService.js index 722269ae6d..3027b30f17 100644 --- a/js/angular/service/delegateService.js +++ b/js/angular/service/delegateService.js @@ -1,4 +1,3 @@ - function delegateService(methodNames) { return ['$log', function($log) { var delegate = this; @@ -69,7 +68,7 @@ function delegateService(methodNames) { 'corresponding element with delegate-handle="'+this.handle+'"!' + methodName + '() was not called!\n' + 'Possible cause: If you are calling ' + methodName + '() immediately, and ' + - 'your element with delegate-handle="messagesScroll" is a child of your ' + + 'your element with delegate-handle="' + methodName + '" is a child of your ' + 'controller, then your element may not be compiled yet. Put a $timeout ' + 'around your call to ' + methodName + '() and try again.' );