Skip to content

Commit

Permalink
Merge pull request #5446 from fdmota/master
Browse files Browse the repository at this point in the history
Fix compile sequence to allow custom directives with required controllers to work
  • Loading branch information
dlgski authored Sep 20, 2016
2 parents 5d17f2b + b2ecf42 commit 4cbacdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/expandable/js/expandable.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,9 @@
}
}
}
var expandedRowElement = $compile(template)($scope);
var expandedRowElement = angular.element(template);
$elm.append(expandedRowElement);
expandedRowElement = $compile(expandedRowElement)($scope);
$scope.row.expandedRendered = true;
});
},
Expand Down

0 comments on commit 4cbacdb

Please sign in to comment.