-3

Is it possible to run Angular 1.x and Angular 5 simultaneously?

https://angular.io/guide/upgrade

1 Answers1

0

Yes, it's possible, with some work. I would assume you would have to have Angularjs 1.5 or higher for this to work successfully though. I'm also assuming that the reason you want to do this is to try and maintain some kind of backward compatibility? Otherwise you would just migrate to a newer version of Angular.

Here is an example running a hybrid app with Angularjs and Angurlar2, but I would think you could do the same in Angular 5 as well. Configuration Tips to build Hybrid Angular 1 and Angular 2 project in real world

James Drinkard
  • 15,342
  • 16
  • 114
  • 137
  • Angular 1.4.4 is the version, is it not possible then? – Sangeetha DH Mar 19 '18 at 16:37
  • I don't know. The link I referenced didn't give versions, so it may be possible. Angularjs 1.5 first introduced components, prior to that you could create closures that resembled components, but they are not the same thing and components are the building blocks of Angular 2. – James Drinkard Mar 19 '18 at 16:49