fix the err_incomplete_chunked_encoding
save the note in the DB
refactory the data base connection
refactory app to use angularjs
using the angularJS