Skip to content

Instantly share code, notes, and snippets.

View luisfarzati's full-sized avatar

Luis Farzati luisfarzati

View GitHub Profile
@luisfarzati
luisfarzati / desc.md
Last active August 29, 2015 13:56 — forked from odino/desc.md
My submission for the Namshi coding challenge.

Coding challenge: cartified!

✔ the cart needs to be implemented as an AngularJS service

✔ the cart should be retrieved from the localStorage, where it's stored under the key cart

✔ every time an action is performed on the cart, it should be persisted on the localStorage

✔ the cart should only know about item IDs and their quantity