I need to integrate a Cuba REST API with an Angular Application.
I have created a REST API using cuba in web module. To integrate it with an Angular JS application what is recommended ? Create a Portal module like described here: https://github.com/cuba-platform/sample-portal or should I put the Angular application inside the web module directly ?
The generation of the OAuth token and its putting on http request headers are done automatically by Cuba or do I have do set something in the Angular application ?
Thanks in advance