I am new in NodeJS and I am trying to build an ecommerce application. I have readymade design and all the front end things with angularjs code. If I'm clicking on any menu then the page content changes along with the URL and is working fine but the problem is when I reload that page it shows me 'Not Found' error.
Internally loaded view
On reloading the Page
Note:- Error shows 106 line of app.js file but it simply contains the error printing statement that is "var err = new Error('Not Found');".
Any kind of help is appreciated.
Thanks in advance.
you call the wrong route, the route is not defined on server that's why it gives you 404 error