From 1d0a4f1799831b3bd25efdb5258e6d38fb4eba39 Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Mon, 14 Apr 2014 13:57:50 -0600 Subject: [PATCH] docs(delegates): fix typo --- js/angular/service/delegateService.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.' );