title: AngularJS Select Tab from Button Click
body: <p>Using the AngularJS tabs directive, is there a way to select a tab from a button. Effectively what I would like to do is click the button 'Select Tab 3' and the third tab will be selected. </p>
  
  <pre><code> &lt;md-button id="button" class="md-raised"&gt;Select Tab Three&lt;/md-button&gt;
  
  &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-content&gt;
        &lt;/md-tab&gt;
        &lt;md-tab label="two"&gt;
          &lt;md-content class="md-padding"&gt;
            &lt;h1 class="md-display-2"&gt;Tab Two&lt;/h1&gt;
        &lt;/md-tab&gt;
        &lt;md-tab label="three" id="three"&gt;
          &lt;md-content class="md-padding"&gt;
            &lt;h1 class="md-display-2"&gt;Tab Three&lt;/h1&gt;
          &lt;/md-content&gt;
        &lt;/md-tab&gt;
      &lt;/md-tabs&gt;
    &lt;/md-content&gt;
  &lt;/div&gt;
  </code></pre>