Currently utilizing AngularJS with Restangular to authenticate a user during the login process. Once authenticated, a 'Token' is returned which must be utilized for all subsequent requests.
My inquiry pertains to the optimal method of storing this token using AngularJS. It is crucial that the token persists throughout the lifetime of the application.
I have considered utilizing services for this purpose, but I am encountering the need to repeatedly inject it into controllers in order to maintain its presence.