I want to find active tab in material and save in cookie:
var activeTab = $cookieStore.get("active");
$cookieStore.put('active',$scope.selectedIndex);
console.log(active);
How can I find active tab in angular material
Here is codepen example
Using md-on-select="onTabChanges(tabNumber)"
you can "watch" for tab changes.
Example in this codepen: Angular Material Selected Tab
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With