title: Nested foreach loop in Angular
body: <p>I have two arrays like this:</p>
  
  <pre><code>var obj1 = [{'target_object_id': 1, 'extra': 'ok'}, {'target_object_id': 2, 'extra': 'ok'}]
  
  var obj2 = [{'id': 4}, {'id': 2}]
  </code></pre>
  
  <p>What I want to do is loop through <code>obj1</code> and <code>obj2</code> and </p>
  
  <pre><code>if obj1.target_object_id == obj2.id // Append obj2['extra']=obj.extra
  </code></pre>
  
  <p>How to do this in angular?</p>