I'm trying to pass the click text into a variable on a click event. Here's the code I have at the moment:
<th (click)="sortedColumn = clickValue">Ask Price</th>
So, when a user clicks on the table header, I'd like for it to store the table header value "Ask Price" in the sortedColumn variable.