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?