I tried this, but it doesn't work:
{{!filterNameVar ? valueVar : valueVar | filterNameVar}}
I need it for my dataGrid, if I get a filterName from dataGrid settings for a column I should apply it. I know I can do this in controller, but so far trying to find a way do it inline in a template.