diff --git a/src/components/angular2-modal/providers/modal.ts b/src/components/angular2-modal/providers/modal.ts index 03793c48..397c6a05 100644 --- a/src/components/angular2-modal/providers/modal.ts +++ b/src/components/angular2-modal/providers/modal.ts @@ -89,7 +89,12 @@ export abstract class Modal { .concat(bindings || []); let nodes: any[] = dialogRef.overlayRef.instance.getProjectables(content, b); - return dialogRef.overlayRef.instance.addComponent(ContainerComponent, b, nodes); + + let containerRef: ComponentRef = dialogRef.overlayRef.instance.addComponent(ContainerComponent, b, nodes); + + containerRef.changeDetectorRef.markForCheck(); + + return containerRef; }