 <p>The way you handle the cookies appears to be correct. In terms of the shopping cart you can simply JSON.stringify it.</p> <p>To save the cart:</p> <pre><code>$cookies.put("shoppingCart", JSON.stringify($scope.shopping_cart)); </code></pre> <p>To retrieve the cart:</p> <pre><code>var cartCookie = $cookies.get("shoppingCart"); if (cartCookie) { cartCookie = JSON.parse(cartCookie); } </code></pre>