© Mark Clow 2018
Mark ClowAngular 5 Projectshttps://doi.org/10.1007/978-1-4842-3279-8_15

15. Routes and Navigation

Mark Clow1 
(1)
Sandy Springs, Georgia, USA
 
In most web applications, users navigate from one page to the next as they perform application tasks. Users can navigate in these ways:
  • Entering a URL in the address bar

  • Following links, clicking buttons, and so on

  • Going backward or forward in the browser history

In Angular applications, users can navigate in the same three ways but they’re navigating through components (the building blocks of Angular apps). We can navigate because we have the Angular router. The router can interpret a browser URL as an instruction to navigate to a component and pass optional parameters (which contain information) ...

Get Angular 5 Projects: Learn to Build Single Page Web Applications Using 70+ Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.