jEngine: $cookie
Installation
npm install jstools-cookie --save
or
bower install jstools-cookie --save
Quick Usage
cookie.set(cookieName, cookieValue)
cookie.set('foo', 'var')
cookie.get(cookieName);
cookie.get('foo')
// returns 'bar'
cookie.remove(cookieName);
cookie.remove('foo');
Full Usage
cookie.set(cookieName, cookieValue, 'Fri, 31 Dec 9999 23:59:59 GMT' {UTC Format}, path, domain, secure)