Hi Boyan, On login, store the user role into the same service you keep their login state. That way, you don't have to re-request for that every time. How often do user-roles change in a single session? If it's high risk, you might want to keep the role for a limited time (say 30 mins).
Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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.
