Loading static files in node <p>I have a node application in which I am initializing var app = express() I am initializing some routes by passing this(app) to a function in one of node_modules of my application. addRoutes(app) is a function where I am defining my static folders </p> <pre><code>addRoutes = function (app) { app.set('views', __dirname + '/app'); app.set('view engine', 'html'); app.use(express.static(__dirname )); app.get('/', function (req, res) { res.render('index.html') }) } </code></pre> <p>this addRoutes is present in one of node_modules</p> <p>And my "_dirname" is a typical angular app in which there is a assets folder and all static files are present there but when I go to localhost:3000 none of my static files gets loaded. What am I doing wrong here</p>