Questions tagged [angular-cookies]

118 questions
2
votes
0 answers

Angularjs cookie not working in chrome

Update: When I posted this question, I had been executing the code directly from my desktop. I just put my cookie sample into some angular code running in my localhost server, and I can now successfully create and read cookies from all browsers:…
Stephen
  • 1,977
  • 2
  • 15
  • 19
2
votes
1 answer

$cookies.get is not a function - Angular JS

Designed two pages. Cookies is not set and showing error. CDN:
2
votes
0 answers

"Cookie length should be less then or equal to 4096 characters" after upgrading to angular-cookies 1.5.11

My App sets different configuration related parameters, token etc to browser cookie. This was working fine with angular-cookie version 1.2.6. But now when I tried to upgrade my angular-cookie version to 1.5.11, suddenly I have started getting…
undefined
  • 3,464
  • 11
  • 48
  • 90
2
votes
2 answers

Installed angular-cookies, getting angular.module error on info function

Uncaught TypeError: angular.module(...).info is not a function I installed angular-cookies from here: https://www.npmjs.com/package/angular-cookies via yarn: yarn add angular-cookies. Added the dependency in my index like so: