title: how to include jquery from node_modules in angular1
body: <p>Here this is my HTML:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;&lt;% include ./header %&gt;
  &lt;link type="text/javascript" src="loginScript" &gt;&lt;/head&gt;
  &lt;body class='home-page' ng-app="loginApp" ng-controller="LoginCtrl"&gt; &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p><strong>header.ejs</strong>
       My application</p>
  
  <pre><code> &lt;script type="text/javascript" src="/node_modules/jquery/dist/jquery.min.js"&gt; 
   &lt;/script&gt; 
  </code></pre>
  
  <p><strong>server.js</strong>   </p>
  
  <pre><code>      var express = require('express');
        var app = express();
        var mysql = require('mysql');
        var path = require('path');
        var http = require('http');
        var fs = require('fs');
        var bodyParser = require('body-parser');
        app.set('view engine','ejs');
  
        app.get('/',(req,res) =&gt;{
           res.render('./login_page');
        });
        app.use(express.static(path.join(__dirname, 'public')));
        var server = http.createServer();
        app.listen(8081); 
  </code></pre>
  
  <p>While running node <code>server.js</code> the following error is displayed:
      localhost/:12 GET 
      <a href="http://localhost:8081/node_modules/jquery/dist/jquery.min.js" rel="nofollow noreferrer">http://localhost:8081/node_modules/jquery/dist/jquery.min.js</a> 404 (Not Found)</p>
  
  <pre><code>localhost/:1 Refused to execute script from 
  'http://localhost:8081/node_modules/jquery/dist/jquery.min.js' because 
  its MIME type ('text/html') is not executable, and strict MIME type 
  checking is enabled.
  </code></pre>
  
  <p>I have <code>node_modules/jquery/dist/jquery.min.js</code> but i don't know why i am getting this error.</p>