docs(delegates): fix typo

This commit is contained in:
Andy Joslin
2014-04-14 13:57:50 -06:00
parent e5ddca34ff
commit 1d0a4f1799

View File

@@ -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.'
);