0

I've a piece of snippet

this.subscription = this.crCount$.subscribe((count:number) => {
       if (count) {
        this.tabs.push({
           id: 'tab3',
           title: `Associate / Linked Change Request (${count} | number:'2.0')`,
           active: false,
        });
     }

I'm trying to apply angular's inbuild number pipe in component's typescript file. But it seems like the expression is not evaluating, it displays raw non evaluated expression in UI. How can i resolve this?

Alia
  • 9
  • 3

0 Answers0