1

I am developing an AngularJS app on its 1.5 version, but i am confused about to use which routing component to use (ngComponentRouter or ui-router).

As, they are saying that ngComponentRouter has been depreated. And, my concern is that i can easily migrate my AngularJS app from 1.5 to 2.0 in near future.

Thanks in advance

shashank
  • 439
  • 1
  • 4
  • 17

1 Answers1

0

You should go for ui-router as it is supported in angular2 also.

http://angular-ui.github.io/ui-router/1.0.0-alpha.3/modules/ng2.html

shan kulkarni
  • 849
  • 7
  • 18