I know I can use ng-if to do conditionals like this:
td.icon(ng-if="isAuthor()", colspan="2")
td.icon(ng-if="!isAuthor()", colspan="3")
But it seems a bit over-wordy for something simple. Is there a way to do:
td.icon(ng-if="!isAuthor()", colspan="{{if isAuthor(): 2 else 3}}")