Skip to content

mackelito/mangular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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","