title: In angularjs application my external script is not getting loaded but if i have the script tag inside my html and embed the module it works fine
body: <p>Hello I created a small demo application in angularjs which requires ngRoute module.But my problem is when i include the js file reference inside the script tag it does not work. But if i am writing all the script code inside the script tags directly i.e. embedding all my module and controller in the main index.html file inside of the script tag it works fine. And when i include the js file reference in script tag, in the console I got:</p>
  
  <blockquote>
    <p>Uncaught Error: [$injector:modulerr]
    <a href="http://errors.angularjs.org/1.3.14/" rel="nofollow noreferrer">http://errors.angularjs.org/1.3.14/</a>$injector/modulerr?p0=Demo&amp;p1=Error%3A%2…gleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.3.14%2Fangular.min.js%3A18%3A179)</p>
  </blockquote>