We are using token based authentication in our application. Tokens are 
saved in local sorage. I want to refresh the token at regular intervals so 
user stays logged in.
How can i call a function which will refresh the token at regular intervals 
say 10 minutes. Should it be configured in app.run when we declare the 
angular module.

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to