Thanks to visit codestin.com Credit goes to github.com
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 7665497 commit ec93f94Copy full SHA for ec93f94
docs/content/guide/directive.ngdoc
@@ -647,10 +647,10 @@ Following is an example of building a reusable widget.
647
'</div>',
648
// The linking function will add behavior to the template
649
link: function(scope, element, attrs) {
650
- // Title element
+ // Title element
651
var title = angular.element(element.children()[0]),
652
- // Opened / closed state
653
- opened = true;
+ // Opened / closed state
+ opened = true;
654
655
// Clicking on title should open/close the zippy
656
title.bind('click', toggle);
0 commit comments