page title service (#2403)

This commit is contained in:
Denys Vuika
2017-10-02 12:17:28 +01:00
committed by Maurizio Vitale
parent e756db03cd
commit 7c1bd46642
7 changed files with 146 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
*/
import { Component, ViewEncapsulation } from '@angular/core';
import { AlfrescoSettingsService, AlfrescoTranslationService, StorageService } from 'ng2-alfresco-core';
import { AlfrescoSettingsService, AlfrescoTranslationService, PageTitle, StorageService } from 'ng2-alfresco-core';
@Component({
selector: 'adf-app',
@@ -29,8 +29,10 @@ export class AppComponent {
constructor(private settingsService: AlfrescoSettingsService,
private translateService: AlfrescoTranslationService,
private storage: StorageService) {
private storage: StorageService,
pageTitle: PageTitle) {
this.setProvider();
pageTitle.setTitle();
}
isAPageWithHeaderBar(): boolean {