aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaran-google2013-10-02 16:20:19 -0700
committerPete Bacon Darwin2013-10-03 23:40:00 +0100
commit333e3375e0205a087fd2f8178d4a58a1ff296cc3 (patch)
tree2113e901c4e51e3573837c107cd47ec05e96be96
parent1691c4e9a3a87268e00e48d04afb79a926742ea4 (diff)
downloadangular.js-333e3375e0205a087fd2f8178d4a58a1ff296cc3.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 2fcaed60..9c418a2c 100644
--- a/docs/content/guide/directive.ngdoc
+++ b/docs/content/guide/directive.ngdoc
@@ -682,10 +682,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.on('click', toggle);