I have a community page with angular js implemented. It is a SPA as expected.
Angular calls the apex remote action methods receives a response and does some UI stuff.
First page(main page) is publicly accessible for the guest users and they are assigned to the guest profile.
On the main page, guest users can search for a product and add any product to the cart, however, before adding the product to the cart I need to display a login page popup window and give the ability to log in the community without reloading/refreshing the main page.
So that, as a result, I need to implement authorization on the community page without reloading/refreshing the page.
Please let me know if any more clarification needed.
Thanks in advance!