title: find index of the object an array angularjs
body: <p>for example I have this array :</p>
  
  <pre><code>  $scope.records = [
      {
        "Name" : "Alfreds Futterkiste",
        "Country" : "Germany"
      },
      {
        "Name" : "Berglunds snabbköp",
        "Country" : "Sweden"
      },
      {
        "Name" : "Centro comercial Moctezuma",
        "Country" : "Mexico"
      },
      {
        "Name" : "Ernst Handel",
        "Country" : "Austria"
      }
    ];
  </code></pre>
  
  <p>How to get value index from object? with example "Country" : "Austria" this index is 3 </p>