Skip to content

Ability to remove states from $stateProvider #1095

Closed
@JensEger

Description

@JensEger

We are perform lazy state binding. This brings the advantage, that a authenticated (or even a unauthenticated) User can "see" only his states / routes, which is also a security reason.

When a user logs out, i am not able to clear the lazy registered routes. I would like this to be implemented. This could be a really interessting feture, because i saw this lazy registration in other SPA's .

Suggested usage:

$stateProviderService.removeState('statename')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions