<ul>
<li ng-repeat="channel in Board.Channels">
<a ng-if="channel.key == ''" ng-href="/{{Board.type}}/{{Board.id}}/{{Board.key}}">{{channel.title}}</a>
<a ng-if="channel.key != ''" ng-href="/{{Board.type}}/{{Board.id}}/{{Board.key}}?channel={{channel.key}}">{{channel.title}}</a>
</li>
</ul>
The main distinction between the two links is that one includes a query parameter, while the other does not.
Is there a more streamlined way to handle this without using dual <a ng-if="">
condition tags?