Used AngularJS v1.3.15 Cookies are set all right, but used html5mod in route
$locationProvider.html5Mode({ enabled: true, requireBase: false }); And it turns out Cookies signed up for / app / if moved to another page, for example / app / 1, and then we need to remove it, then we will only remove it from the / app / 1 page
How to delete cookies from all pages?
Tried through $ cookieStore
$cookieStore.remove('user_id'); delete $cookieStore; $cookieStore.removeAll(); Not one of these options works.
here you can see how the cookies are recorded.
$ cookies.user_id = '24' - this is how variables were recorded in $ cookies
$cookieStore, in the comments unknown$cookies. Determine what exactly you are using, how you are using, and give a link to the help of the libraries used - Grundy