Ionic angularjs


#1

I want to output the data using ng-repeat and put it into the database

After testing, I have only one data item.

How do I send data with just one button?

<div ng-repeat="item in cart">
<div>
       <p><!-- <img ng-src='http://localhost:8080/app/image/{{item.cart_item_name}}'> -->
			    <div>size : {{item.cart_item_comment}}</div>
			 </p>
     </div>
	</div>

<div ng-controller="paymentCtrl"><a ng-click="payment(item)">submit</div>