title: Angular Platform-Server Respond with custom http status code
body: <p>I am using SSR Platform-Server with ExpressJS
  I want to change the HTTP status code from 200 to 404 for page not found</p>
  
  <p>I create a route object as follow</p>
  
  <pre><code>[
    { path: '', component: HomeComponent },
    { path: '**', component: NotFoundComponent, pathMatch: 'full' }
  ]
  </code></pre>
  
  <p>it is working fine in client side but I don't have any idea to change the status code in NodeJS</p>
  
  <p>I try to throw an error and handle it in ExpressJS</p>
  
  <p>so in NotFoundComponent, in OnInit I throw an error but angular capture the error and again I get status = 200</p>
  
  <p>any idea?</p>