title: Best Way For Token Validation in Angular
body: <p>In a WebApp development with AngularJS which uses token validation for authentication purposes, what's the best way to do this validation? For example:</p>
  
  <ol>
  <li>Validate the Token every time I have a route transition. For this I have to make a rest call for everytime I want to validate.</li>
  <li>Validate the token just one time, with one rest call, and then store the token in local storage. (The token itself just have a boolean telling if it is authenticated or not)</li>
  </ol>
  
  <p>My concern is to not make a rest call in every route transaction, I don't want to consume that much of http traffic. But, if there isn't another way, I will do that.</p>