Is there a way to only listen for the VERY first route start and none of the others? Obvs this could be done with a variable but was wondering if there was an event for this instead.
$rootScope.$on("$routeChangeStart", function (event, next, current) {
Auth.authorize().then(function(){
// only want to happen the first time
// $location.path('dlp');
},function(){
$location.path('login');
});
});