I have a feeling there is no way to do this, but I figured it couldn't hurt to ask. I'm using route.resolve
to check the current user status when routes change and determine if they are authorized for that route. Assuming they aren't, ideally I'd like to simple display an error template rather than change routes to point to an error page.
Obviously the latter is more straightforward but it doesn't feel right. Is it possible to handle it this way or will have to get more creative here.
One solution I've considered is to have directives in the root template that show based on an $rooteScope.errorState is set. Not my favourite solution but a workable one for the time being.