Skip to content

Commit 4cbacdb

Browse files
authored
Merge pull request #5446 from fdmota/master
Fix compile sequence to allow custom directives with required controllers to work
2 parents 5d17f2b + b2ecf42 commit 4cbacdb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/features/expandable/js/expandable.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,9 @@
441441
}
442442
}
443443
}
444-
var expandedRowElement = $compile(template)($scope);
444+
var expandedRowElement = angular.element(template);
445445
$elm.append(expandedRowElement);
446+
expandedRowElement = $compile(expandedRowElement)($scope);
446447
$scope.row.expandedRendered = true;
447448
});
448449
},

0 commit comments

Comments
 (0)