I had the same problem with v19.2.7
wasted so many hours. I found it is bug of the common engine (CommonEngine) of angular
just update to 19.2.14
and enable server routing and app engine api.
and set up the server routing.
now in server.ts will use "angularApp = new AngularNodeAppEngine();" to render. (not use CommonEngine)
then Direct URL Access for Routes with Parameters will work and no longer return 404