Express.js Angular.js 1 Html5 Mode Not Working
-
First Remove the:
app.use('/', index);
Or Equivalents directives.
-
Then Edit Main app.js File and Append:
app.use(function(req, res) { res.sendFile(path.join(__dirname, 'app_client', 'index.html')); });
In this Case the index.html File is Inside to the app_client Directory…