0
I’m starting with Angularjs and a question has arisen that seems to me to be simple.
I’m making a shopping cart (just for learning) with the little I’ve learned (ng-controller, ng-repeat, ng-model, etc).
I have a list that comes from the Controller and I want to automatically add in the caress. However, I would like to know how I took the value of the quantity and step to the function in Controller... I used ng-model='quantity' and tried to recover via {{ quantity }}, which obviously did not work.
Can you help me?
My code: https://jsfiddle.net/r7r99sr9/
Thank you! =)