import { Routes } from "@angular/router" ; import { HomeComponent } from "./pages/home/home.component" ; export const ROUTES = [ { path : 'home' , component : HomeComponent , data : { title : 'Home' } } , { path : '**' , redirectTo : '/home' } ] ;