We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7ad03c commit 7e0f02fCopy full SHA for 7e0f02f
modules/angular2/src/upgrade/upgrade_adapter.ts
@@ -339,7 +339,7 @@ export class UpgradeAdapter {
339
(injector: angular.IInjectorService, rootScope: angular.IRootScopeService) => {
340
ng1Injector = injector;
341
ObservableWrapper.subscribe(ngZone.onTurnDone,
342
- (_) => { ngZone.run(() => rootScope.$apply()); });
+ (_) => ngZone.runOutsideAngular(() => rootScope.$apply()));
343
ng1compilePromise =
344
UpgradeNg1ComponentAdapterBuilder.resolve(this.downgradedComponents, injector);
345
}
0 commit comments