ngUpgraders / ng-forward

The default solution for those that want to write Angular 2.x style code in Angular 1.x
410 stars 36 forks source link

Problems using angular2 with ng-forward #158

Closed david-gang closed 4 years ago

david-gang commented 8 years ago

Hi,

There was a defect with ng-forward and zone.js.

https://github.com/ngUpgraders/ng-forward/issues/82

This was solved by removing zone.js. Now the problem is that angular uses zone.js, so it makes it impossible to use ng-forward with ngupgrade :-(

david-gang commented 8 years ago

Hi @timkindberg ,

I thought this morning about a simple solution. Instead of calling Object.defineproperties one time, we could call Object.defineproperty multiple times for every argument.

This is really simple and will work :-)