//define a new route for the error page {path: '*', component: [errorPageComponent]}, //create a component (f.e: errorPageComponent) that contains the message Page not found