Hi Jens,
Thank you so much for sharing this example. It is proving invaluable to me for learning how to integration Rails and Angular.
I have one question about how the session is handled. In the SessionService it initializes user = {}
, and then later the user.authorized
property is checked to see if the user is logged in (in addition to the server side filter but that's a separate layer).
If if reload the browser page, since it reloads the assets, the user gets reset and I'm pushed back to login. My question is, what would be a good scheme to avoid that on a reload?