import { Component, OnInit, Input, ViewContainerRef } from '@angular/core';
import { MdButtonModule } from '@angular/material';
import { Router } from '@angular/router';

@Component({
  selector: 'app-four0four',
  templateUrl: './four0four.component.html',
  styleUrls: ['./four0four.component.css']
})
export class Four0fourComponent implements OnInit {

  constructor(private router: Router, vRef: ViewContainerRef) {}


  ngOnInit() {
  }

 toHome() {
   console.log('in');
  this.router.navigate(['login']);
  }
}
