Angular - Can You Use an Async Variable in a Pipe?

November 20, 2020

When I Googled for this, I got a bunch of results that just explain the async pipe; but I wanted to know if I could use an async variable into the pipe:

<div>Currency {{ 100 | currency:(currencySymbol$ | async)}}</div>

Looks like you can. See this Stack Blitz