updating title element on route change with i18n translation

This commit is contained in:
William Welling
2017-10-13 08:32:05 -05:00
parent 366f350970
commit 617f3ad029
6 changed files with 44 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ import { HomePageComponent } from './home-page.component';
@NgModule({
imports: [
RouterModule.forChild([
{ path: '', component: HomePageComponent, pathMatch: 'full', data: { title: 'DSpace Angular :: Home' } }
{ path: '', component: HomePageComponent, pathMatch: 'full', data: { title: 'home.title' } }
])
]
})