I have to integrate Angular on a existing app where we use Devise to do the authentication.
We have a user model linked to a profile model.
User model is used for authentication and its Profile model contains users parameters. We are trying to improve some pages linked to the authenticated user by using Angular.
How can I exchange the current user object between my rails app and my angular application? The app is pretty big and we can not allow ourselves to implement an authentication via angular.
Thanks for any lead