Storing tasks in mongoDB. And previously forgotten angular resource file