Issue
I am trying to make condition in template for translate, like this
{{showBigMap ? 'Shared.ShowMap' | translate : 'Shared.HideMap' | translate }}
But it does not compile, it got errors, my question is how I can use translate in condition in angular component template?
Solution
{{showBigMap ? ('Shared.ShowMap' | translate ): ('Shared.HideMap' | translate) }}
Wrap it in brackets