title: Angular module not loading
body: <p>So I am creating a new module with a single controller, saved in controllers directory off of the app directory:</p>
  
  <pre><code>var tables = angular.module('tables',[]).controller('setName', function ($scope) {
    $scope.userName = userName;
    $scope.userPassword = userPassword;
  });
  </code></pre>
  
  <p>I have the following html:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;meta charset="UTF-8"&gt;
  &lt;title&gt;ang&lt;/title&gt;
  
  &lt;/head&gt;
  &lt;script src="/socket.io-client/socket.io.js"&gt;&lt;/script&gt;
  &lt;script src="/angular/angular.min.js"&gt;&lt;/script&gt;
  &lt;body ng-app="tables"&gt;
    &lt;div ng-controller="setName"&gt;
      User Name: &lt;input type="text" ng-model="userName" &gt;&lt;br&gt;
      Password: &lt;input type="text" ng-model="userPassword" &gt;&lt;br&gt;&lt;br&gt;
  
      User Name: {{userName}}&lt;br&gt;
      Password: {{userPassword}}&lt;br&gt;
  
    &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I am using express to serve the page:</p>
  
  <pre><code>//Load express
  var express = require('express');
  //Load tables
  //var tables = angular.module('table');
  // Create express app
  var app = express();
  //Load http express wrapper
  var http= require('http');
  //Create variable for the port the server listens on
  var srvPort = 3000;
  //Make a static path to node_modules  directory
  app.use(express.static('node_modules'));
  
  app.use(express.static('controllers'));
  //Make a static path to the public directory
  app.use(express.static('public'));
  
  app.get('/', function(req, res){
      res.sendFile(__dirname + '/index.html');
  });
  
  
  var server = http.createServer(app).listen(srvPort, function () {
      console.log('Server is listening on port ' + srvPort);
  });
  
  require('./public/javascript/sockets.js').initialize(server);
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>Failed to instantiate module tables due to:
  Error: [$injector:nomod] http://errors.angularjs.org/1.5.0/$injector/nomod?  p0=tables
  at Error (native)
  at http://localhost:3000/angular/angular.min.js:6:416
  at http://localhost:3000/angular/angular.min.js:25:136
  at b (http://localhost:3000/angular/angular.min.js:24:188)
  at http://localhost:3000/angular/angular.min.js:24:431
  at http://localhost:3000/angular/angular.min.js:39:287
  at n (http://localhost:3000/angular/angular.min.js:7:355)
  at g (http://localhost:3000/angular/angular.min.js:39:135)
  at fb (http://localhost:3000/angular/angular.min.js:43:164)
  at Ac.c (http://localhost:3000/angular/angular.min.js:20:449
  </code></pre>
  
  <p>So my question is, why is my module not loading?</p>
  
  <p>Any help would be appreciated!</p>
  
  <p>Z</p>