You should have a customers controller and an orders controller on the Express side as well as the angular side. Make sure to have the appropriate factories Too! Use two models in Mongoose called Customer and Order.
- Have a controller for customers in express and angular
- Have an orders controller in express and angular
- Have the appropriate factories.
- Use two models in Mongoose called Customer and Order
orders page
pull customers from database. done add a new orders to database (customer, product, qty, date) display orders in page search box
Products page
add product database (name, upload image, descrption)
load product image and quantity left