I want to show this code only, if router is not equal '' and '/dashboard'.

```
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
    <ul class="nav navbar-nav navbar-right">
        <li><a routerLink="/dashboard"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span></a></li>
    </ul>
</div>

```

How to do it?