mangular

0.2.2 • Public • Published

mAngular

A Factory for Angular 1 to consume the magento 2 rest api

Cart

getCartId: getCartId,
getTotals: getTotals,
getItems: getItems,
addItem: addItem,
removeItem: removeItem,
createNewCart: createNewCart

Category

  getCategories: getCategories,
  getCategory: getCategory

Products

  getProducts: getProducts,
  getProduct: getProduct

## Developing locally (bower) -fork the project -cd into the dir -run "bower link" -go to you project -run "bower link mangular"

now the changes you do on the services should be reflected directly in you project, just dont forget to run "npm run bulid" or "npm run watch" in the mangular folder

If you are having problems with this try this instead: In you bower.json, add ""mangular": "path/to/mangular eg. like this file:///Users/david/my-projects/mangular/.git","

Package Sidebar

Install

npm i mangular

Weekly Downloads

0

Version

0.2.2

License

ISC

Last publish

Collaborators

  • mackelito