I have created a SPA, and I'm using Angular to do this. Now I have encountered a problem when I need to read the urls "created" with Angular in Node.js.
For example:
My url is:
http://example.com/#/home?answer=yes
Normally if the url would have been like this:
http://example.com/home?answer=yes
I could've gotten the "answer" by using:
app.get("/home", function(req,res) {
var answer = req.query.answer;
})
But because of the #
node can't seem to parse the url.
Please help me solve this problem.