Angular ngMaterial Error: $injector:modulerr Module Error
<p><a href="https://i.stack.imgur.com/2ShBz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2ShBz.png" alt="enter image description here"></a></p>

<p>I cannot inject ngMaterial into my app. I have loaded ngAria and angular.js before angular-material. Here is my routes.js and index.html. Does something look wrong?</p>

<hr>

<p>routes.js</p>

<pre><code>'use strict';
 var app = angular.module('app', ['ui.router', 'ngMaterial','appRoutes', 'appControllers', 'appServices', 'appDirectives', 'appFilters']);
 var appRoutes = angular.module('appRoutes', []);
 var appControllers = angular.module('appControllers', []);
 var appServices = angular.module('appServices', []);
 var appDirectives = angular.module('appDirectives', []);
 var appFilters = angular.module('appFilters', []);

 app.constant('Options', {baseUrl: 'http://localhost:4001'});
</code></pre>

<hr>

<p>index.html</p>

<pre><code>&lt;link rel="stylesheet" href="node_modules/angular-material/angular-material.min.css"&gt;
...
&lt;script src="node_modules/jquery/dist/jquery.min.js"&gt;&lt;/script&gt;
&lt;script src="node_modules/angular/angular.min.js"&gt;&lt;/script&gt;
&lt;script src="node_modules/angular-ui-router/release/angular-ui-router.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="node_modules/angular-aria/angular-aria.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="node_modules/angular-messages/angular-messages.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="node_modules/angular-material/angular-material.min.js"&gt;&lt;/script&gt;
</code></pre>