import { Injectable } from '@angular/core' ; import { MultiplyService } from './multiply.service' ; @ Injectable ( ) export class PrettifyService { constructor ( private multiplyService ) { } calc ( a , b , suffix = 'Calc: ' , postfix = '' ) { return `${ suffix }${ this . multiplyService . calc ( a , b ) }${ postfix }` ; } }