Which router to use in AngularJS 1.5

406 views Asked by At

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

1

There are 1 answers

3
shan kulkarni On BEST ANSWER

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