title: Cannot GET /test.html when running Node.js server
body: <p>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:</p>
  
  <pre><code>var connect = require('connect');
  var app = connect().use(connect.static('/angularjs'));
  app.listen(5000);
  </code></pre>
  
  <p>When visiting the following URL <code>http://localhost:5000/test.html</code> all I see is the text "Cannot GET /test.html".</p>
  
  <p>I have looked at <a href="https://stackoverflow.com/questions/23978734/node-connect-issue-object-function-createserver-has-no-method-static">this</a> and <a href="https://stackoverflow.com/questions/9627441/cannot-get-with-connect-on-node-js">this</a> question here on SO. None of the solutions were helpful for me. </p>