ngCart
======

Really simple shopping cart for AngularJS
-----------------------------------------------------------------

AngularJS module consists of a set of directives to help you quickly implement a shopping cart on your AngularJS app
Quick and easy AngularJS module and set of directives for adding a cart into your AngularJS application.
<ul>
 <li>View cart directive</li>
 <li>Add item to cart directive</li>
 <li>Summary of items in your cart directive</li>
 <li>Template driven for full UI customisation</li>
 <li>Custom data object for additional info/options images</li>
 <li>Add shipping costs</li>
 <li>Add Taxes</li>
 <li>Events Broadcast on $rootScope</li>
 <li>Fulfilment options</li>
 <li>Send to console</li>
 <li>Send to HTTP POST</li>
 <li>Send to PayPal</li>
</ul>
As feaured in '<a href="https://www.packtpub.com/web-development/building-e-commerce-application-mean">Building an E-Commerce Application with MEAN</a>' 

<a href="https://www.packtpub.com/web-development/building-e-commerce-application-mean"><img src="https://d1ldz4te4covpm.cloudfront.net/sites/default/files/imagecache/ppv4_main_book_cover/6551OS.jpg"/></a>

Documentation
-----
Documentation, demo, API etc can all be found here
http://ngcart.snapjay.com/#/docs


Demo
----

To view a demo go here:
http://ngcart.snapjay.com/
You can see all 3 directive active on the page - Add items to the cart and change the quantities.



Grunt
------------
This project is built with GruntJS. To contribute to this project make sure to install node.js and npm.
Assuming npm is installed, run `$ npm install` inside the project directory to install the dependencies and you should
be ready to go.
Once you make a change, use `$ grunt build` inside the project folder to build the distribution files.
The version number is determined from the `package.json` file inside the project directory.


Download on Github
------------------
https://github.com/snapjay/ngCart.git



License
-------

This module is licensed using the MIT License:

```
The MIT License (MIT)

Copyright (c) 2013 Dan Shreim

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```



Credit
------
Dan Shreim <br />
<a href="http://www.twitter.com/snapjay/">@snapjay</a> <br />
http://snapjay.com
If you use the script, please let me know @snapjay;  Don't worry, I won't ask for anything!
