title: Determine value of input which by JS value
body: <p>I write my application with <code>HTML</code>, <code>JS</code> and <code>Angular.js</code>.</p>
  
  <p>Here is the relvant HTML part:</p>
  
  <pre><code> &lt;div class="col-md-4 col-md-offset-0" ng-repeat="app in apparray track by $index"&gt;
       // some HTML code
  &lt;input type="text" class="form-control" ng-model="typex" style="width: 66%" id="inputEmail3" required="" value=app[0] placeholder=app[0] disabled&gt;
    // More HTML code
   &lt;/div&gt;
  </code></pre>
  
  <p>Here is the JS file:</p>
  
  <pre><code>wdConfControllers.controller('MController',
      function($scope, $modal, $location, WdConfClient) {
    //some code
     $scope.apparray = []
     $scope.init = function () {
         for(var i = 0; i &lt; 3; i++) {
                 $scope.apparray.push(["appt", "", "", "", ""]);
      }
   }
  </code></pre>
  
  <p>I want that my input would prints the value of the first argument in the specific <code>app</code>. In our case is <code>appt</code>. But it prints <code>app[0]</code>. </p>
  
  <p>How I get to the first argument in app[0]</p>