//app.js
app.run(function($rootScope, $sessionStorage, AuthToken, permissions) {
if(AuthToken.getToken()) {
$rootScope.userDetail = $sessionStorage.userDetail;
permissions.setPermissions($sessionStorage.userDetail.permissionList);
}
});
This Pen doesn't use any external CSS resources.