How to request: only display intro screens if the user hasn't viewed them before

When setting up my states, I want to say:

  if ($localStorage.introViewed) $urlRouterProvider.otherwise('/login'); 
  else $urlRouterProvider.otherwise('/intro')

However $localStorage isn’t available at this point, any tips on getting around this without resorting to external DB calls?

I am replying with a string of text in hope that this topic will be visible to others. I am still struggling with this.

window.localStorage was my workaround, thanks IRC channel!