Click here to Skip to main content
15,883,749 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am new to Angular js and I was trying to find out proven ways to upgrade an existing Angular 1 app to Angular 4.
What I wish to do is to be able to run the angular 1 and angular 4 components together since I do not want to migrate all at once and proceed gradually.
It will be a great help if some could point me in the right direction.

Thanks.

What I have tried:

I have tried googling a few times but only one relevant result comes up ng-book.com or something. Not very helpful.
They do not seem to be saying anything about the hybrid application.
Posted
Updated 2-Jul-18 3:24am
v2
Comments
Mehdi Gholam 18-Sep-17 1:33am    
What does the angular team website say?
GKP1992 18-Sep-17 3:46am    
Not much. But I have looked at this https://vsavkin.com/migrating-angular-1-applications-to-angular-2-in-5-simple-steps-40621800a25b, it seems good but it does not say anything about being able to run the angular 1 and 4 components together. (Sorry to not have mentioned that in the question I'll update it.)

1 solution

If your project is not very complex you may do it incrementally. Bootstrap and use both AngularJS and Angular 6 running the two frameworks side by side and port components from AngularJS to Angular one by one.

Take a look at this official article and this Upgrade module
 
Share this answer
 
Comments
GKP1992 3-Jul-18 1:47am    
Looks interesting, I did something similar.
Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900