Pretty old, but in general all you need to do is first combine the api and then have a wildcard to match everything else and return an index ...
Thus, any deep binding will still work, serving the root of your responsive application, where the router responds to the browser URL.
Spring - , @RequestMapping(value = "/")
, , . , /api/, .