Ruan Marques Ruan Marques - 7 months ago 41
AngularJS Question

Backend files being load as public - Angularjs / Node / Gulp

I have been struggling to know why my back end files are being loaded as front end files.

As I am working a new project with angular+node+gulp, it seems a bit confusing for me.

Here goes an image with the exceptions..
Any suggestion?

Image Error

rsp rsp

It's impossible to answer your question in a current form.

If JavaScript is loaded on the frontend, it must be because it is referenced in the <script> tag in your HTML. Maybe you are concatenating and minifying more than you need - not only frontend but also your backend files, and they end up being bundled together.