IT Professional Curricula Web Design Solution Area Scripting and Web Languages Angular 4
Angular apps are typically front-end based and therefore client-side dominant. In this course, you will learn how to set up client-side routes and navigation in an Angular app.
Objectives |
Routing Basics - Start the course
- install the modules needed for routing
- set up routes for an application
- use a router outlet element to display routed views
- use the RouterLink directive to define navigation links
- use an external router module to manage routes in separate files
- group components together to create feature-specific modules that can be imported into larger apps
- define and use child routes for use in external modules
Route Parameters - use route parameters to perform explicit routing from within a controller class
- use the ActivatedRoute service in a component
- use optional route parameters for navigating
- define child routes that display relative to parent components and router outlets
- define and use named router outlets as secondary destinations
Practice: Routes for Angular - create and use routes in an Angular App
|