Summary
As of #5 script details screen is hard-coded to be /script/details. It needs to go to the details of the specific script, like /script/2 for script 2.
Implementation Details
Update the ScriptDetailsComponent route in app-routing to have a dynamic route that uses the id as a parameter. Look at how Hero Details were done in Tour of Heros https://angular.io/tutorial/toh-pt5#navigating-to-hero-details
Summary
As of #5 script details screen is hard-coded to be
/script/details. It needs to go to the details of the specific script, like/script/2for script 2.Implementation Details
Update the ScriptDetailsComponent route in app-routing to have a dynamic route that uses the id as a parameter. Look at how Hero Details were done in Tour of Heros https://angular.io/tutorial/toh-pt5#navigating-to-hero-details