I am beginning to read Pro AngularJS. In the section to setup the development environment it has me create a angularjs directory and put a test.html file into it. Outside of that folder I installed 'connect' and 'serve-static' for Node.js. I also created a server.js file. The contents are seen below:
var connect = require('connect');
var app = connect().use(connect.static('/angularjs'));
app.listen(5000);
When visiting the following URL http://localhost:5000/test.html
all I see is the text "Cannot GET /test.html".
I have looked at this and this question here on SO. None of the solutions were helpful for me.