What is routing in angular 2?
Routing is what lets in you to create Single Page Applications. AngularJS routes allow you to create distinct URLs for one of a kind content material in your application. It helps in redirecting users to exceptional pages based totally on the alternative they pick out on the main page. AngularJS routes enable one to show more than one content depending on which route is chosen. A route is unique in the URL after the # sign.
Related Article: How to Overcome the Fear of Angular 2 Interview Questions
BY Best Interview Question ON 25 Feb 2020