Skip to content
This repository was archived by the owner on Sep 20, 2020. It is now read-only.
This repository was archived by the owner on Sep 20, 2020. It is now read-only.

Controller reloaded when params in route #380

Description

@that1guy

The initial transition to the sticky state works well, but when you transition away and then come back to the sticky state, the view reloads and the controller re-runs (thus losing any changes made on that scope/view). This issue only happens when $stateParams contains a javascript object.

See my plunk here: http://plnkr.co/edit/b9zpVyApL6tx2pe8XoZz?p=preview

(Initial state is app.survey)

  1. Click on the Property Details Page tab
  2. Click the Go back to app.survey on the property details page
  3. Notice that the controller is reloaded

This issue is realted to #239. but you fixed that scenario. I'm not sure what I'm doing differently to be reproducing this issue. I'm using the latest ui-router legacy and ui-router-extras

Thanks for help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions