aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaran-google2013-10-02 16:20:19 -0700
committerPete Bacon Darwin2013-10-03 23:45:36 +0100
commitec93f94cc944e86da5a7332e079e140a4ef33ea6 (patch)
treec12c50c10449b45bdaac30b30c0b5d1423591f40
parent7665497a5370cdb0e8ffccfe8ea57cb8370a701c (diff)
downloadangular.js-ec93f94cc944e86da5a7332e079e140a4ef33ea6.tar.bz2
docs(guide/directive): fix indentation in example code
Closes #4241
-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);