title: md-tabs Using code to goto a tab in angular 2 material design
body: <p>I am using Angular2 to create an application i which i need to navigate between tabs using a button present inside the tabs.</p>
  
  <p>my html is as the following :</p>
  
  <pre><code>&lt;md-tab-group&gt;
  &lt;md-tab label="one"&gt;
     &lt;button md-raised-button&gt;Navigate to Two&lt;/button&gt;
     &lt;button md-raised-button&gt;Navigate to Three&lt;/button&gt;
  &lt;/md-tab label&gt;
  &lt;md-tab label="two"&gt;
  &lt;/md-tab label&gt;
  &lt;md-tab label="three"&gt; 
  &lt;/md-tab label&gt;
  &lt;/md-tab-group&gt;
  </code></pre>
  
  <p>So,when i click the navigate to three it should take me to the tab name three</p>
  
  <p>I am using the Angular2 material design for this example can anyone know to solve this problem.</p>
  
  <p>Thanks in advance</p>