In this exercise...

you will practice using Query Parameters in routes.

Directions:

In the project linked below:

  • Add a route for /flops/3 etc... that displays the flop details component
  • Get the route info in the details component and pass the given ID in to obtain and display the correct flop
  • Make clicking on a flop link to the details for that flop

Click the following link to open up the exercise: https://stackblitz.com/fork/angular-2v3wxf?file=src/app/app.component.ts