Skip to content

Instantly share code, notes, and snippets.

View nerder's full-sized avatar
🍕
Pizzing

Stefano Saitta nerder

🍕
Pizzing
View GitHub Profile
if($rootScope.securityRole){
console.log($rootScope.securityRole);
console.log(authService.isUrlAccessibleForUser(next.url));
if(authService.isUrlAccessibleForUser(next.url)){
$location.path('/authError');
}
}