Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit f4da4d6

Browse files
fix(accordion): fix minification issues
1 parent 3afcaa4 commit f4da4d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/accordion/accordion.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ angular.module('ui.bootstrap.accordion', ['ui.bootstrap.collapse'])
6262
replace: true, // The element containing the directive will be replaced with the template
6363
templateUrl:'template/accordion/accordion-group.html',
6464
scope:{ heading:'@' }, // Create an isolated scope and interpolate the heading attribute onto this scope
65-
controller: function($scope) {
65+
controller: ['$scope', function($scope) {
6666
this.setHeading = function(element) {
6767
this.heading = element;
6868
};
69-
},
69+
}],
7070
link: function(scope, element, attrs, accordionCtrl) {
7171
var getIsOpen, setIsOpen;
7272

0 commit comments

Comments
 (0)