I've recently started to work on a front-end project using nodejs, gulp, bower and angular. Its back-end is a java application and it's configured like this:
* Serve all the UI (frontend) from a /static path http://mysite.com/static/...
* Serve all the API-related URLs with a