Our current setup involves using angular JS with spring boot, and although everything is running smoothly, we are facing an issue regarding the separation of our UI deployment location from where the Java code resides. This has led to a situation where upon inspecting the browser, all our JS source codes and controllers are visible, exposing our entire logic.
If you have any suggestions or techniques on how to conceal our code effectively from the browser and enhance the security of our application, please let us know.