With 1.4 version of AngularJS, is it possible to create persistent cookies with $cookies
?
I want data to be stored once I login, for 7 days say. In version 1.3.X, it is not possible to set Expiration date even. But with 1.4, they have deprecated $cookieStore
and set an option in $cookies
for expiration date.
I want to know whether this one creates cookies for desired longer periods rather than I close the browser and everything is gone.