Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Something along the lines of reloadOnPathParams in ngRoute #7925

Closed
@alethea

Description

@alethea

It would be nice to have an option on a route to only reload the view when path params change, much like reloadOnSearch only reloads the view when $location.search() changes.

E.g.: If route /foo/:id has reloadOnPathParams = false set, then moving from /foo/id1 to /foo/id2 would only broadcast a $routeUpdate event, and not reload the view and re-instanciate the controller.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions