Trial and error to do web application using MEAN stack