title: karma unit test running issue Error $injector:modulerr failed to instantiate module
body: <p>I'm new to angularJS unit testing and I have added a new unit test but I'm running into this issue: </p>
  
  <pre><code>Error: [$injector:modulerr] Failed to instantiate module FeeBuddy due to:
  Error: [$injector:modulerr] Failed to instantiate module ngMaterial due to:
  Error: [$injector:nomod] Module 'ngMaterial' 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>this is my <code>karma.conf.js</code> file dependecies call : </p>
  
  <pre><code>files: [
        'node_modules/angular/angular.js',
        'node_modules/angular-mocks/angular-mocks.js',
        'node_modules/angular-ui-router/release/angular-ui-router.js',
        //'node_modules/angular-material/angular-material.js',
        'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.js',
        'public/js/vendor/materialPreloader.min.js',
        'js/server.config.js',
        'js/main.controller.js',
        'js/controllers/*.js',
        'js/services/*.js',
        'js/directives/*.js',
        'js/factories/*.js',
        'js/components/*.js',
        'js/modules/**/*.js',
        'js/routes.js',
        'js/modules.js',
        'js/module.js',
        'js/filters/*.js',
        'js/modules/**/module.js',
        'js/dependecies.js',
        'test/unit/*.js'
      ],
  </code></pre>
  
  <p>Even if I uncomment the <code>node_modules/angular-material/angular-material.js</code> still i have the same issue</p>