title: Is there a way for angular to get the current user when using basic login from django
body: <p>All is in my title. I would like to get the current user information because i need it in my view to display action (delete/edit) depending of the user's rights.</p>
  
  <p>I use the basic authentification make by Django (/login /logout), i didn't change anything. Is there a way to listen to this login/logout action and retrieve this information in the Angular context?</p>
  
  <p>Pretty new in angular, i'm searching some informations that would help me to go in one or other direction.</p>
  
  <p>Actually i don't have a REST API for authenticated my users.</p>
  
  <p>I find some interesting article <a href="https://groups.google.com/forum/#!topic/angular/1TayxPHFpOc" rel="nofollow noreferrer">Best place/way to store 'global' data such as 'current logged in user'</a> / <a href="https://stackoverflow.com/questions/14206492/how-do-i-store-a-current-user-context-in-angular/14206567#14206567">How do I store a current user context in Angular?</a> but for now as i said i don't have AuthService just the basic login/logout from Django.</p>
  
  <p>I used Django Rest framework for some action on my project (like post/delete/read/update for some of my models) and it works fine with angularjs. But i'm happy with the basic authentification provided by Django, so i don't want to rewrite it. But i don't know how to listen on it and if it's possible.</p>
  
  <p>I know that is a broad question and for now i dont't have code to show because afters hours of research i don't know where i need to begin.
  If it's to broad i will remove it.</p>
  
  <p>Thanks,</p>