Closed david-gang closed 4 years ago
The problem is that
_writers.providerStore.has('name', a)
The function is not in the provider store as it is not part of ng-forward or a ng1 module.
Is there a nice way to support this?
I could theoretically register this as a ng1 directive with a string and inject the string but this is really ugly.
In a more general way i would like to know how to inject from angular2 to ng-forward and vice versa meaning:
@david-gang this is some good research! Thanks for doing this.
So the ng2 component was successfully downgraded, we can see the ng1 DDO that the adapter created. We just need to figure out how to get that output over to something that ng-forward wants which I'm not sure if that is possible but it certainly looks like it might be. However, that is gonna be a little while.
Both @MikeRyan52 and I have been busy with other things for the last 2 weeks that's why there's been no movement in a bit. I plan to start working on ng-forward again maybe around my holiday break and certainly after the new year.
Hi all,
I try to use ng-upgrade with a small directive, to see how it works.
Now i try to inject it into another directive:
Now i get an error
When i try to downgrade the component
i get an error:
What is wrong here?