Angular material doesn't work after adding all references
<p>I am trying to use angular material. I added all references but when I test it with an angular material button I don't see the button.
I think that I have similar to this post issue: <a href="https://stackoverflow.com/questions/31032714/installing-angular-material-failed-to-instantiate-module-ngmaterial-even-thou">Installing Angular Material, &quot;Failed to instantiate module ngMaterial&quot; even though I&#39;m using angular version 1.3.0</a></p>

<p>_Layout.cshtml</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
    &lt;meta charset="utf-8" /&gt;
    &lt;meta name="viewport" 
          content="width=device-width, initial-scale=1.0"&gt;
    &lt;title&gt;@ViewBag.Title - Register&lt;/title&gt;
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
&lt;/head&gt;
&lt;body data-ng-app="main"&gt;
    &lt;div&gt;&lt;md-button class="md-raised md-primary"&gt;Primary&lt;/md-button&gt;&lt;/div&gt;
    &lt;div class="container body-content"&gt;
        @RenderBody()
        &lt;hr /&gt;
        &lt;footer&gt;
            &lt;p&gt;&amp;copy; @DateTime.Now.Year&lt;/p&gt;
        &lt;/footer&gt;
    &lt;/div&gt;
    @Scripts.Render("~/bundles/angular")
    @Scripts.Render("~/bundles/jquery")
    &lt;script type="text/javascript"&gt;
        window.MyApp = {};
        MyApp.rootPath = '@Url.Content("~")';
    &lt;/script&gt;
    &lt;script src="~/App/Validator.js"&gt;&lt;/script&gt;
    &lt;script src="~/App/App.js"&gt;&lt;/script&gt;
    @RenderSection("scripts", required: false)
    &lt;script type="text/javascript"&gt;
        @RenderSection("jsCode", required: false)
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>App.js</p>

<pre><code>var material = angular.module('ngMaterial', ['ng', 'ngAnimate', 'ngAria','ngMessages','ngMaterial']);
var commonModule = angular.module('common', ['ngRoute']);
var mainModule = angular.module('main', ['common', 'ngMaterial']); 
</code></pre>

<p>BundleConfig.cs</p>

<pre><code>bundles.Add(new ScriptBundle("~/bundles/angular").Include(
                  "~/Scripts/angular.js",
                  "~/Scripts/angular-route.js",
                  "~/Scripts/angular-animate.js",
                  "~/Scripts/angular-aria.js",
                  "~/Scripts/angular-messages.min.js",
                   "~/Scripts/angular-material.js"));
</code></pre>