Skip to content

Commit 6fb1607

Browse files
fix regression regarding hostbindings method calls
1 parent 30a5c1b commit 6fb1607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/bootstrap/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function bootstrap(ngModule, target, parentState?: any) {
5454
return {
5555
pre: (scope, el) => {
5656
// Bind the hosts
57-
utils.bindHostBindings(scope, el, hostBindings, component.exportAs || name);
57+
utils.bindHostBindings(scope, el, hostBindings, component.controllerAs);
5858

5959
if (target.prototype.ngOnInit) {
6060
// Call the `ngOnInit` lifecycle hook

0 commit comments

Comments
 (0)