Saving DB using form

I want to pass the shopping cart data through the form

	    <div ng-repeat="item in cart">
            <form name="loginform" novalidate class="css-form">
                 <label class="item item-input" style="margin-bottom: 1px; border: none; border-bottom-style: solid; border-bottom-color: #cecece; border-bottom-width: 1px">
                 <input type="text" placeholder={{item.cart_item_comment}} ng-model="user.id" required>
                 </label>
           </form>
        </div>

		<div id="button_center" ng-controller="cartCtrl">
          <button class="button button-block button-calm" style="width: 100px; margin-right: 2px; background: orange" ng-click="checkout(user)">payment</button>
          <button class="button button-block button-calm" style="width: 100px; margin-left: 2px; background: orange" back>back</button>
        </div>

Running a form with a value causes undefined

You have to put the button inside the form.

The button should only appear once. Buttons are now created for each item