Skip to content

Commit b2ecf42

Browse files
author
Filipe Mota
committed
Fix compile sequence to allow custom directives with required controllers to work
1 parent de01b2b commit b2ecf42

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)