This guide was written for Angular 2 version: 2.0.0
Routing in Angular 2 has finally stabilized with the introduction of the latest component router which allows us to map components directly to routes. In this guide, we'll be converting an Angular 1.x application using
ui-router to an Angular 2 application using the component router.
Table of contentsAngular 1.x
Angular 1.x ships with a routing solution known as
... read the whole story at developer.telerik.com.
ngRoute which is fairly limited in its capabilities. The standard solution is to use
ui-router which is exponentially more powerful and full-featured. For the sake of being relevant, we are going to skip