import { Component , Input } from '@angular/core' ; @ Component ( { selector : 'cmdb-content-header' , templateUrl : './content-header.component.html' , styleUrls : [ './content-header.component.scss' ] } ) export class ContentHeaderComponent { @ Input ( ) public title : string ; @ Input ( ) public separator : boolean = true ; public currentIcon : string ; @ Input ( ) public set faIcon ( value ) { this . currentIcon = value === undefined ? 'cube' : value ; } public get faIcon ( ) : string { return this . currentIcon === undefined ? 'cube' : this . currentIcon ; } }