2 <ng-template #titleStringTmpl let-pfx="pfx" let-sfx="sfx">
4 <ng-container *ngIf="pfx">
5 <ng-container *ngIf="sfx">
6 <!-- trim prefix value when it competes with a suffix and add a seperator -->
7 <ng-container>{{pfx | slice:0:12}} - </ng-container>
9 <ng-container *ngIf="!sfx">{{pfx}}</ng-container>
12 <ng-container *ngIf="sfx">{{sfx}}</ng-container>
14 <!-- if no values are defined, use a generic default -->
15 <ng-container *ngIf="!pfx && !sfx">Evergreen</ng-container>
18 <eg-string #titleString [template]="titleStringTmpl"></eg-string>