title: Location in mongoose, mongoDB
body: <p>Whenever I try to store a location in my mongodb it doesn't show, so I guess I'm doing something wrong.
  I can't find any documentation on how to store a location in mongoose so I'm just gonna ask it here.</p>
  
  <p>I first create my model:</p>
  
  <pre><code>var eventSchema = mongoose.Schema({ 
      name : String,
      creator : String,
      location : { type: [Number], index: '2dsphere'},
  
  });
  </code></pre>
  
  <p>Then I try to add it to my database:</p>
  
  <pre><code>var newevent = new event({ 
          name: name,
          creator: tokenUser, 
          location : { type: "Point", coordinates: [longitude, latitude] },
  });
  </code></pre>
  
  <p>When I look in my database everything is stored except the location ...</p>