angular+node+mongodb prototype