Is it possible to run angular2 with node js without the given code in nodejs? What if i don't want to use dist folder in nodejs?
app.use('/', express.static('dist'));
app.get('/', function(req, res) {
res.sendFile(path.join(__dirname + '/index.html'));
});
javascriptas browser's don't understand typescript. Also can you please state the reason for removing the above nodejs codeng buildeverytime i make changes and i'm not able to tun throughng serve