title: Remove an item from an array mongodb equivalent in mongoose
body: <p>Doc:</p>
  
  <pre><code>{
      "_id" : ObjectId("5399ba7f8035beb2d4717cc0"),
      "listName" : "firstList",
      "items" : [
          {
              "pName" : "iPad ",
              "pDesc" : "iPad aiiir",
              "ownerID" : ObjectId("5399b596c501732dd4d13923"),
              "_id" : ObjectId("5399e2cc2d7b0349d89d2b44"),
              "dateAdded" : ISODate("2014-06-12T17:26:36.282Z")
          },
          {
              "pName" : "iPhone ",
              "pDesc" : "5s",
              "ownerID" : ObjectId("5399b596c501732dd4d13923"),
              "_id" : ObjectId("5399e2cc2d7b0349d89d2b44"),
              "dateAdded" : ISODate("2014-06-12T17:26:36.282Z")
          }
  ]}
  </code></pre>
  
  <p>I want to remove an item from the "array" items <strong>without knowing</strong> the _id of the document only the id of the element,
  I have this query that finds the element, it works in mongodb shell but doesn't in mongoose, </p>
  
  <pre><code>db.lists.find( {items:
                 {$elemMatch:{'_id':ObjectId("5399b596c501732dd4d13923")}}} , 
                 {"items.$":1});
  </code></pre>
  
  <p>Do you have an idea why ? </p>
  
  <p>Can you please give me the equivalent in mongoose ? </p>
  
  <p>How should I pull the item from the list knowing only its _id ?</p>