What's the best way to persist information on session with AngularJS? -


i have page show name of user after login, but, if press f5 page reloads , name not appear. how can persist information in session?

session storage first choice, take @ ngstorage module. haven't tested , doesn't seem used it's starting point if want write own implementation.

though unless have reason go against cookies consider using inbuilt $cookies service.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -