1

I have a code written in AngularJS1.5 and I want to use this code in another app that will be built on ionic 2 framework. I tried to follow the guidelines of using the ngupgrade module to make the AngularJS1.5 code compatible with ionic 2 framework which uses the AngularJS 2.0.

My question is when using the ngupgrade we must call the bootstrap method from UpgradeAdapter, but the ionic framework calls its own bootrstrap method. So any ideas on how to achieve that?

hex
  • 515
  • 2
  • 4
  • 13

1 Answers1

0

According to the Ionic Team, ngUpgrade won't work to convert Ionic 1 to Ionic 2:

Ionic1 and Ionic2 will not work with ngUpgrade.

Crag
  • 1,723
  • 17
  • 35
  • Im not sure that's correct. You obviously can sun ngUpgrade as angular upgrade without ionic v1 running alongside ionic v2 – Pavel Durov Mar 23 '18 at 16:37