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. '', // 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);