angularjs $cookieStore SyntaxError: JSON.parse: unexpected character angularjs $cookieStore SyntaxError: JSON.parse: unexpected character angularjs angularjs

angularjs $cookieStore SyntaxError: JSON.parse: unexpected character


$cookieStore is serialized session storage. It gives you error because value of cookie are not serialized.

You need $cookies for your value.