title: Error: [$injector:nomod] Module is not available
body: <p>I am trying to upload a file with progress bar but getting 2 errors constantly, no matter what i do</p>
  
  <p>1)module not defined and 2nd is [$injector:nomod] module not available.</p>
  
  <p><a href="http://jsfiddle.net/3m75wqt1/" rel="nofollow">http://jsfiddle.net/3m75wqt1/</a></p>
  
  <p>this is my controller </p>
  
  <p>PageController.js</p>
  
  <pre><code>var PageController = function ($scope, fileUpload ) {
  angular.module('app', ['ngProgress'])
  angular.module('app')
  .controller('PageController', function ($scope) {
      //$scope.fileUpload = {};
  });
  PageController.$inject = ['$scope','ngProgress'];
  </code></pre>
  
  <p>};</p>
  
  <p>I have done a lot of searching but unable to find the error.
  any help would be appreciated... Thanks in advance</p>