The problem is that the price and quantity are getting submitted twice. 
Once when the quantity is increased or decreased and then again when the 
Add to Cart button calls the onSubmit function.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/e14ce32d-a01a-46d6-a9e2-db6c58be0614o%40googlegroups.com.

Reply via email to