diff options
Diffstat (limited to 'docs/content/guide')
| -rw-r--r-- | docs/content/guide/directive.ngdoc | 6 |
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); |
