I want to find the active tab in the material and save it in a cookie:
var activeTab = $cookieStore.get("active"); $cookieStore.put('active',$scope.selectedIndex); console.log(active);
How to find active tab in angular material
Here is an example codepen
angularjs angular-material
TheNone
source share