I am currently using version 1.2.28
of AngularJS and am having issues setting and retrieving cookies.
Here's a code snippet:
administrators.createNewAdministrator($stateParams.code).then(
function (response) {
$cookies.name = 'Rafael';
$cookieStore.put('name', 'Rafael');
var url = url.getRedirectURL(window.location.origin, response.code);
window.location.href = url;
}
);
Opening the Application => Cookies
pane does not show any of the cookies using either of these methods.
Any ideas as to what may be causing this?