title: AngularJS Error: [$injector:nomod]
body: <p>Strangely enough the module loads perfectly in Firefox. </p>
  
  <p>In Chrome only sometimes the module loads up (when refreshing on and off) and seems to be the only browser where the following console error is occurring.</p>
  
  <p>Error: [$injector:nomod] Module 'myApp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.</p>
  
  <pre><code>var myApp =  angular.module('myApp', []);
  function MyController($scope, $http){
      $http.get("http://localhost/json").success(function(response){
          $scope.customers = response;
      });
  });
  myApp.controller('MyController', MyController);`
  </code></pre>