title: Asp.net bower installed plotly.js does not work
body: <p>I installed Plotly.js with bower and added script reference in my view page but when I run my page, console says "Uncaught Reference error : Plotly is not defined"</p>
  
  <p>below is my settings :</p>
  
  <p>bower.json</p>
  
  <pre><code>{
      "name": "ASP.NET",
      "private": true,
      "dependencies":
      {
          "bootstrap": "3.3.6",
          "jquery": "2.1.4",
          "jquery-validation": "1.15.0",
          "jquery-validation-unobtrusive": "~3.2.6",
          "gl-matrix": "~2.3.2",
          "pixi": "~3.0.11",
          "requirejs": "2.2.0",
          "pixi-particles": "1.6.7",
          "d3": "3.5.17",
          "plotly.js": "~1.12.0"
  
      },
      "resolutions":
      {
          "jquery": "~2.2.4"
      }
  }
  </code></pre>
  
  <p>html page with script</p>
  
  <pre><code>@using System.Collections.Generic
  @using Microsoft.AspNet.Http
  @using Microsoft.AspNet.Authentication
  @using WebApplication1.Controllers
  
  @model PitchGraphViewModel
  
  @{
      ViewData["Title"] = "Example Page";
  }
  &lt;meta charset="utf-8" /&gt;
  &lt;meta http-equiv="Cache-Control" content="no-cache" /&gt;
  &lt;meta http-equiv="Pragma" content="no-cache" /&gt;
  &lt;meta http-equiv="Expires" content="0" /&gt;
  &lt;script type="text/javascript" src="~/lib/plotly.js/dist/plotly.js" charset="utf-8"&gt;&lt;/script&gt;
  &lt;!DOCTYPE HTML&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Webgl test page&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;canvas id="mycanvas" width="500" height="500"&gt;&lt;/canvas&gt;
      &lt;div id="tester" style="width:600px;height:250px;"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  &lt;script&gt;
  
      var TESTER = document.getElementById('tester');
      Plotly.plot(TESTER, [{
          x: [1, 2, 3, 4, 5],
          y: [1, 2, 4, 8, 16]
      }], {
          margin: { t: 0 }
  
  
      });
  
  
  &lt;/script&gt;
  </code></pre>
  
  <p>plotly.js folder structure
  <a href="https://i.stack.imgur.com/Drwgc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Drwgc.png" alt="plotly.js folder structure"></a></p>
  
  <p>I tried requirejs shim config as this page but it failed :
  <a href="https://stackoverflow.com/questions/33436184/using-requirejs-to-load-plotly-and-d3">Using RequireJS to load plotly and D3</a></p>
  
  <p>I checked plotly.js is downloaded on page visit with browser developer tool but 'Plotly' still remains undefined.</p>