title: Angular Module fails to load with firebase
body: <p>I am new to angular and I have been trying to instantiate an angular module with firebase but it keeps giving me:</p>
  
  <p>Failed to instantiate module myApp due to:</p>
  
  <pre><code>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.
  </code></pre>
  
  <p>Here is my app.js:</p>
  
  <pre><code>var app =  angular.module('myApp',[]);
  
  app.controller('myController', function($scope){
  
          $scope.names = "Coder01";
  
  
  });
  </code></pre>
  
  <p>Html:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
      &lt;html ng-app='myApp'&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8"&gt;
          &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.2/angular.js"&gt;&lt;/script&gt; 
          &lt;script src="https://www.gstatic.com/firebasejs/live/3.0/firebase.js"&gt;&lt;/script&gt;
  
  
          &lt;script&gt;
  
            var config = {
              apiKey: "AIzaSyBTY8XluWdgHFadZLwhlCiD5aupBBTkezU",
              authDomain: "chatroom-60d2f.firebaseapp.com",
              databaseURL: "https://chatroom-60d2f.firebaseio.com",
              storageBucket: "chatroom-60d2f.appspot.com",
            };
            firebase.initializeApp(config);
          &lt;/script&gt;
          &lt;script src="js/app.js"&gt;&lt;/script&gt; 
  
          &lt;title&gt;Welcome to ChatRoom&lt;/title&gt;
  
        &lt;/head&gt;
        &lt;body ng-controller="myController"&gt;
  
          &lt;p&gt;Input something in the input box:&lt;/p&gt;
          &lt;p&gt;Name : &lt;input type="text" ng-model="names" placeholder="Enter name here"&gt;&lt;/p&gt;
          &lt;h1&gt;Hello {{names}}&lt;/h1&gt;
  
          &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>Here are all my errors:</p>
  
  <pre><code>VM3476:5 Uncaught TypeError: Cannot read property 'removeAttribute' of null(anonymous function) @ VM3310:5(anonymous function) @ VM3310:20
  
  app.js:1 Uncaught SyntaxError: Unexpected token &lt;
  
  angular.js:68 Uncaught Error: [$injector:modulerr] 
  
  Failed to instantiate module myApp due to:
  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.
  
  
  VM3400:5 Uncaught TypeError: Cannot read property 'removeAttribute' of null
  </code></pre>