Skip to content

Commit aa9a4a2

Browse files
committed
Fix for the minify error.
Add an $injector for the 'treeTransclude' directive $scope.
1 parent 0ccdeeb commit aa9a4a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

angular-tree-control.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ if (typeof module !== "undefined" && typeof exports !== "undefined" && module.ex
395395
})
396396
.directive("treeTransclude", function () {
397397
return {
398-
controller: function ($scope) {
398+
controller: ['$scope',function ($scope) {
399399
ensureAllDefaultOptions($scope);
400-
},
400+
}],
401401

402402
link: function(scope, element, attrs, controller) {
403403
if (!scope.options.isLeaf(scope.node, scope)) {

0 commit comments

Comments
 (0)