This directive gives you gridster behavior
Mongoose plugin that adds timestamps (createdAt and updatedAt) in your schema in a unix timestamp