Using the angular routing command it gets easier to navigate through the view page or any other file during any tasks. One can also configure the URL to redirect any other URL and this feature can also be handled to address the problem of "404 not found". By using the location services one can go back and forward along with the page history. Its syntax is- e can use {path: '/OUR_PATH', redirectTo: ['redirectPathName']}

This is one of the most common Angular 2 interview questions.

BY Best Interview Question ON 24 Nov 2019