I have a container something like below
<mat-sidenav-container
[ngClass]="{'sidepanel-opened':
((isSidePanelVisible$ | async) as isSidePanelVisible) == true }">
</mat-sidenav-container>
Want to use the observable variable in other tags, getting an exception as
Uncaught (in promise): Error: Errors during JIT compilation of template for RiskWorkflowComponent: Parser Error: Missing expected ) at column 53 in [{'sidepanel-opened': ((isSidePanelVisible$ | async) as isSidePanelVisible) == true }]