import {Component, Input} from '@angular/core'; import {ActivatedRoute} from '@angular/router'; @Component({ selector: 'showTitle', template: `

[no title available] [no title available]
No title available

` }) export class ShowTitleComponent { @Input() titleName: string; @Input() title: { [key: string]: string }; @Input() iconClass:string; @Input() classNames: string = ""; constructor () {} }