title: Find an object in a list based on attribute value in Angular JS
body: <p>Is there a simple way to find an object in a list based on an attribute value, without looping on the list?</p>
  
  <p>For example given a list like the following :</p>
  
  <pre><code>var lst = [
    {
      name: "foo", 
      value: "fooValue"
    }, 
    {
      name: "bar", 
      value: "barValue"
    }
  ];
  </code></pre>
  
  <p>Is there some kind of "<code>find</code>" method, such that <code>lst.find("name", "foo")</code> would return the object which has a "<code>name</code>" attribute with the value "<code>foo</code>"?</p>