title: Angular 2 Material 2 Sidenav Toolbar collapse like Navigation Drawer
body: <p>I have a sidenav and a nested toolbar<br/>
  <strong>toolbar.html</strong></p>
  
  <pre><code>&lt;md-sidenav-container fullscreen&gt;
      &lt;md-sidenav #sidenav mode="side" color="primary"&gt;
       &lt;md-toolbar color="primary"&gt;&lt;span&gt;Sidenav&lt;/span&gt;&lt;/md-toolbar&gt;
          &lt;button md-button class="sidenav-link" (click)="sidenav.close()"&gt;
            &lt;md-icon&gt;home&lt;/md-icon&gt;&lt;span class="title"&gt; HOME&lt;/span&gt;
            &lt;/button&gt;
            &lt;button md-button class="sidenav-link" (click)="sidenav.close()"&gt;
              &lt;md-icon&gt;home&lt;/md-icon&gt;&lt;span class="title"&gt; HOME&lt;/span&gt;
            &lt;/button&gt;
        &lt;/md-sidenav&gt;
        &lt;app-toolbar [sidenav]="sidenav"&gt;&lt;/app-toolbar&gt;
  &lt;/md-sidenav-container&gt;
  </code></pre>
  
  <p><strong>sidenav.html</strong></p>
  
  <pre><code>&lt;md-toolbar color="primary"&gt;
    &lt;button md-button class="toolbar-menu-button"
            (click)="sidenav.toggle(); isCollapsed = !isCollapsed"&gt;
      &lt;md-icon [@iconChange]="isCollapsed"&gt;menu&lt;/md-icon&gt;
    &lt;/button&gt;
    &lt;span class="toolbar-spacer"&gt;&lt;/span&gt;
    &lt;button md-button class="toolbar-link" &gt;DASHBOARD&lt;/button&gt;
    &lt;span class="toolbar-spacer"&gt;&lt;/span&gt;
  &lt;/md-toolbar&gt;
  </code></pre>
  
  <p><a href="https://plnkr.co/edit/up19ZNJyMt6uatqdI9uv?p=preview" rel="noreferrer">https://plnkr.co/edit/up19ZNJyMt6uatqdI9uv?p=preview</a> </p>
  
  <p>I would like to close the sidenav up to the home icon like Navigation Drawer</p>
  
  <p><strong>close sidenav</strong>
  <a href="https://i.stack.imgur.com/RxKuN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RxKuN.png" alt="sidenav close"></a></p>
  
  <p><strong>open sidenav</strong>
  <a href="https://i.stack.imgur.com/6TgGu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6TgGu.png" alt="sidenav open"></a></p>