title: AngularJS - Uncaught Error: No module: myApp
body: <p>I just finished reading documentation and watching numerous angularjs videos and decided to start working with it.</p>
  
  <p>I decided to start with a small simple example and after fiddling for an hour and not being able to get it off the ground I am starting to wonder if it is me or something undetected after all..</p>
  
  <p>SO my simple code started getting reduced and eventually I simply copied and pasted this fiddle code to see if that would work (since it works on jsfiddle.</p>
  
  <p><a href="http://jsfiddle.net/FssbL/1/" rel="nofollow">http://jsfiddle.net/FssbL/1/</a></p>
  
  <p>The code in my browser does not work...</p>
  
  <p>I even reduced it to less code</p>
  
  <p>my tad.js file contains this code</p>
  
  <pre><code>angular.module('myApp', [])
  
  .controller('FirstCtrl', function($scope) {
      $scope.data = {message: "Hello"};
  });
  </code></pre>
  
  <p>My html file contains this</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;meta charset="UTF-8"&gt;
  
  &lt;head&gt;
   &lt;script src="js/angular.min.js"&gt;&lt;/script&gt;
   &lt;script src="js/tad.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;html&gt;
  
  &lt;body&gt;
  
  &lt;div ng-app="myApp"&gt;
      &lt;div ng-controller="FirstCtrl"&gt;   
  
          &lt;h1&gt; {{data.message + " world"}} &lt;/h1&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks!</p>