title: Changing Tab using Button Click
body: <pre><code>&lt;div ng-cloak&gt;
    &lt;md-content&gt;
     &lt;md-tabs md-dynamic-height md-border-bottom&gt;
    &lt;md-tab label="one"&gt;
       &lt;md-content class="md-padding"&gt;
          &lt;h1 class="md-display-2"&gt;Tab One&lt;/h1&gt;          
               &lt;md-button class="md-raised"&gt;Save &amp; Next&lt;/md-button&gt;
      &lt;/md-content&gt;
    &lt;/md-tab&gt;
    &lt;md-tab label="two"  ng-disabled="true"&gt;
      &lt;md-content class="md-padding"&gt;
        &lt;h1 class="md-display-2"&gt;Tab Two&lt;/h1&gt;          
       &lt;md-button class="md-raised"&gt;Save &amp; Back &lt;/md-button&gt;
      &lt;/md-content&gt;
    &lt;/md-tab&gt;      
  &lt;/md-tabs&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>I am using angular + angular material , there are two tab menu "One" and "Two"  when I clicked on  "Save &amp; Next" button next tab should be enabled and foucs goes to next tab and reverse things should happen when i clicked on second tab "Save &amp; Back" button </p>