src/app/home/page-not-found.component.ts
<h1>This is not the page you were looking for!</h1>
import { Component } from '@angular/core'; @Component({ template: ` <h1>This is not the page you were looking for!</h1> ` }) export class PageNotFoundComponent { }