Angular 6 routing not working with parameters

I’m working on Angular project . I’ve a problem with Angular routing, When I navigate to localhost:4200/details/1, I’m seeing errors in console log like

Refused to apply style from ” because its MIME type
(‘text/html’) is not a supported stylesheet MIME type, and strict
MIME checking is enabled.
1:34 GET http://localhost:4200/details/assets/js/Control.Loading.js net::ERR_ABORTED 404 (Not Found)
1:35 GET http://localhost:4200/details/assets/js/Control.MiniMap.js net::ERR_ABORTED 404 (Not Found)
1:48 GET http://localhost:4200/details/assets/js/Control.FullScreen.js net::ERR_ABORTED 404 (Not Found)
1:45 GET http://localhost:4200/details/assets/js/esri-leaflet-geocoder.js net::ERR_ABORTED 404 (Not Found)

This is how my routing is configured for this route appModule

RouterModule.forRoot([ {path:’details/:id’,component:DetailComponent}])

I’ve looked at sample code it seems pretty simple and straight forward not sure why this not working me.
Routing currently working for me with out parameter passing

can some please help me with what I’m doing wrong here?

Source: New feed
Source Url Angular 6 routing not working with parameters