Migrating Angular 1 to Angular 4

I am looking at ways to port the current Angular 1 project to Angular 4.

Parameters ng-forward , ngUpgrade or overwrite .

I'm thinking of rewriting, but with a twist.

  • I save the current application
  • Start writing a new one parallel to it.
  • All the new rewriting NG4 I want to use ... so differently, in other words.

Has anyone tried this or knew a better way?

+7
source share
1 answer

Incremental AngularJS application upgrade to Angular.

AngularJS Angular . , , . upgrade Angular .

. Angular - AngularJS

DEMO PLNKR

. Angular 2+ Angular 1.X

+15

Source: https://habr.com/ru/post/1689853/


All Articles