>that's what I did initially, but:
<a ng-href="/queries/{{query.id}}#{{visualization.id}}"></a>
will render with a trailing # when no visualization: /queries/123# and I don't like it :-1: