I use Angular and Node.js + Express 4 + socket.io.
I want send form to the server throw socket.io. I created a service in my Angular app which returns serialized form data. This service works the same way as jQuery.serialize().
Then I send serialized data to the server using socket.io. How can I parse this data to the JSON object? I have express body-parse but I don't know how to use it not like a express middleware.