Inject javascript code into html with Express
问题 I am writing a web application using Express framework to generate Impress.js presentations and apply a visual editor on them. I have set up the app.js for only getting the .html file but I want to inject a javascript code from a separate file before the body closing tag of the .html file. For example, I will have a route handler /edit and then the script will be triggered after it have been injected into the html code. var express = require('express'); var app = express(); app.configure