You can use localstorageservice https://github.com/grevory/angular-local-storage
On Sunday, July 19, 2015 at 2:10:15 PM UTC+5:30, tzahi ben artzi wrote: > > Hello guys. > I need to check with a GET function to see if i am logged in, and store it > in a variable if i am, and use it in a controller. > How will i do that? > A service? > It would be really great if you could show me an example. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
