jbutko
12/3/2014 - 7:37 AM

#AngularJS, #JS: Remove all cookies from cookieStore in Angularjs

#AngularJS, #JS: Remove all cookies from cookieStore in Angularjs

angular.forEach($cookies, function (v, k) {
    $cookieStore.remove(k);
});

// From http://stackoverflow.com/questions/26607856/how-to-remove-all-cookies-in-angularjs