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