aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/content/guide/directive.ngdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc
index f72f2bb5..7ebf3f88 100644
--- a/docs/content/guide/directive.ngdoc
+++ b/docs/content/guide/directive.ngdoc
@@ -647,10 +647,10 @@ Following is an example of building a reusable widget.
'</div>',
// The linking function will add behavior to the template
link: function(scope, element, attrs) {
- // Title element
+ // Title element
var title = angular.element(element.children()[0]),
- // Opened / closed state
- opened = true;
+ // Opened / closed state
+ opened = true;
// Clicking on title should open/close the zippy
title.bind('click', toggle);