We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2648b8a commit 1e42f49Copy full SHA for 1e42f49
docs/content/guide/directive.ngdoc
@@ -682,10 +682,10 @@ Following is an example of building a reusable widget.
682
'</div>',
683
// The linking function will add behavior to the template
684
link: function(scope, element, attrs) {
685
- // Title element
+ // Title element
686
var title = angular.element(element.children()[0]),
687
- // Opened / closed state
688
- opened = true;
+ // Opened / closed state
+ opened = true;
689
690
// Clicking on title should open/close the zippy
691
title.on('click', toggle);
0 commit comments