Project

General

Profile

« Previous | Next » 

Revision 57666

Continue working on the overview page and created the component for the country page

View differences:

app-routing.module.ts
2 2
import { Routes, RouterModule } from '@angular/router';
3 3
import { HomeComponent } from './pages/home/home.component';
4 4
import { CountriesMapOverviewComponent } from './pages/home/countries-map-overview.component';
5
import {CountryPageComponent} from './pages/countrypage/country-page.component';
5 6

  
6 7
const routes: Routes = [
7 8
  {
......
17 18
    path: 'overview-map-embed',
18 19
    component: CountriesMapOverviewComponent
19 20
  },
21
  {
22
    path: 'countryDashboard/:countryName',
23
    component: CountryPageComponent
24
  },
20 25
];
21 26

  
22 27
@NgModule({

Also available in: Unified diff