© Adam Freeman 2017

Adam Freeman, Pro Angular, 10.1007/978-1-4842-2307-9_25

25. Routing and Navigation: Part 1

Adam Freeman

(1)MILTON KEYNES MK6 3PA, UK

The Angular routing feature allows applications to change the components and templates that are displayed to the user by responding to changes to the browser’s URL. This allows complex applications to be created that adapt the content they present in an open and flexible way, with minimal coding. To support this feature, there are data bindings and services that can be used to change the browser’s URL, allowing the user to navigate around the application.

Routing is useful as the complexity of a project increases because it allows the structure of an application to be defined separately from the ...

Get Pro Angular, Second Edition 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.