import { Component , Input , OnInit , OnDestroy } from '@angular/core' ; import { Router } from '@angular/router' ; @ Component ( { selector : 'app-error' , templateUrl : './error.component.html' , styleUrls : [ './error.component.css' ] } ) export class ErrorComponent implements OnInit , OnDestroy { constructor ( private router ) { } ngOnInit ( ) { } ngOnDestroy ( ) { } }