I initially build my web app using angularJs library not the cli. I am trying to dual boot or migrate to angular2 but can't seem to find any suitable way to do the migration without having to rewrite my code from scratch.
I tried looking at the angular documentation Official Guide1 and official guide2 but they explained it in regards of using the cli initially in angularJs but my web app was not build with the cli rather the library download.
I also tried following this guide but still it is based on migrating from angularjs cli to angular cli.
Can someone point me to a link or help with best way to migrate my angularJS library to angular cli or best solution to dual boot instead.
Also, is it possible to download angular2 library as it is in angular1?
What I did on mine is follow the instructions on Running angular1 and angular2 side by side
angular.json
of the angular2 under thescripts
.angular.json
of the angular2 under thestyles
assets
part of the angular2angular.json
fileThe key here
angular1 will have to be copied into angualr2
. The above is the basic for preparing your angular1 project to dual boat inside angular2. There is more but follow the instructions on the link I posted above and your app will both run side by side. Hope this help