title: getting Error: [$injector:modulerr] using angularjs datatable?
body: <p>I am creating one small demo for getting user list and also login using angularjs with web api.and I am using datatable for showing user  list.then I am include datatable in module file then first time run the project getting like this error.and then remove 'datatable' from the module working very well.so i can not understand where is my mistke.</p>
  
  <p>this is my app.js code:</p>
  
  <pre><code>var app = angular.module("Demo", ['ngRoute','datatables']);
  app.config(['$routeProvider', function ($routeProvider) {
  $routeProvider.
  
          when('/dashboard', {
              templateUrl: 'home/dashboard',
              controller: 'dashboardcontroller'
          }).           
  
          otherwise({
              redirectTo: '/home/login'
          });}]);
  </code></pre>
  
  <p>this is my included datatable module. i am remove here datatable it's working fine but again add datatable getting error from the module.</p>
  
  <p>this is my script ordering :</p>
  
  <pre><code> &lt;script src="~/assets/js/jquery.js"&gt;&lt;/script&gt;
  &lt;script src="~/assets/angular.min.js"&gt;&lt;/script&gt;
  &lt;script src="~/assets/js/angular-datatables.js"&gt;&lt;/script&gt;
  &lt;script src="~/assets/angular-route.min.js"&gt;&lt;/script&gt;
  &lt;script src="~/assets/js/jquery.datatables.js"&gt;&lt;/script&gt;
  &lt;script src="~/assets/js/angular.js"&gt;&lt;/script&gt;
  &lt;script src="~/assets/app.js"&gt;&lt;/script&gt;
  &lt;script src="~/assets/services.js"&gt;&lt;/script&gt;
  &lt;script src="~/assets/controller.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>this is error is getting:</p>
  
  <p><a href="https://i.stack.imgur.com/cMNL9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cMNL9.png" alt="enter image description here"></a></p>
  
  <p>so this is my code any one know where is mistake then please let me know.</p>