title: Filter Array By Another Array (AngularJS)
body: <p>I have a array of objects. the object contains: 
  <br/>
  code
  <br/>
  name.
  <br/><br/></p>
  
  <p>example: </p>
  
  <pre><code>var fullList = [
        {"code":10,"name":"example 10"},
        {"code":50,"name":"example 50"},
        {"code":60,"name":"example 60"}
     ]
  </code></pre>
  
  <p>I have another array with only code, like: </p>
  
  <pre><code>var filterBy = [10, 50]
  </code></pre>
  
  <p>I want to create 2 new array:
  <br />
  First - contains only objects that their code in "filterBy"<br/>
  Second - contains only objects that their code not (!) in "filterBy"<br/></p>
  
  <p>how can i do it?</p>
  
  <p>Thank you</p>