title: AngularJs ng-repeat : how to bind the values from <input> which was inside the ng-repeat?
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var app = angular.module('myApp', []);
  app.controller('myCtrl',function($scope){
   //Adding New Check# and Check amount Text Boxes
           $scope.texs = [{id: 'tex', value: 'tex1'}];
           
           $scope.add = function() {
             var newItemNo = $scope.texs.length+1;
             $scope.texs.push({'id':'tex'+newItemNo});
           };
             
           //Removing Last Check# and Check amount Text Boxes
           $scope.remove = function() {
             var lastItem = $scope.texs.length-1;
              $scope.texs.splice(lastItem);
           };
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"&gt;&lt;/script&gt;
  &lt;body&gt;
  
  &lt;div ng-app="myApp" ng-controller="myCtrl"&gt;
  &lt;div class="col-md-12"&gt;
  &lt;div class="col-md-6"&gt;
           &lt;div ng-repeat="tex in texs"&gt;
            &lt;div class="form-group"&gt;
             &lt;label&gt;tex:&lt;/label&gt;
             &lt;div class="col-md-5"&gt;
              &lt;input type="number" class="form-control" id="tex.id" ng-model="tex.id" maxlength="6"&gt;&lt;/input&gt;
             &lt;/div&gt;
             &lt;button ng-show="$last"
              ng-click="remove()"&gt;-&lt;/button&gt;
            &lt;/div&gt;
            
           &lt;/div&gt;
           &lt;button type="button"
            ng-click="add()"&gt;Add More&lt;/button&gt;
          &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col-md-6"&gt;
     &lt;label&gt;{{tex.id}}&lt;/label&gt;
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Above i mentioned my code. here If i did not use the <code>ng-repeat="tex in texs"</code>,the label <code>tex</code> and <code>texNo</code> is displaying the <code>value</code> once i entered the values in input. But If I did use the <code>ng-repeat="tex in texs"</code>, the <code>value</code> is not displayed. I know the code is wrong,but what i want is If i click Add More and entered the values of the second <code>tex</code> and <code>texNo</code>, I want to display the both of values of <code>tex</code> and <code>texNo</code> in the Label.</p>
  
  <p>please suggest me with something.</p>