From c56cce83038fe56432b497f8d3aeeba1c654216b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Zbytovsk=C3=BD?= Date: Wed, 25 Feb 2015 17:23:57 +0100 Subject: [PATCH] docs(guide/Directives): mentioned shorthand for "return function()" --- docs/content/guide/directive.ngdoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index 77c558aaca9e..691d609d8c45 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -867,6 +867,7 @@ element? +Note: Returning a `function(scope, element, attr){...}` is just a shorthand for `{link: function(scope, element, attr){...}}`. ### Creating Directives that Communicate