Skip to content

state.go not passing data to $stateParams #928

@nikilster

Description

@nikilster

I'm currently passing in data as part of the second argument to state.go and when I check in the state params of the destination controller, $stateParams is empty.

Been trying to figure this out for an hour - I think I'm doing everything correctly?

$state.go("send-to", { "test": 123});

and when it transitions to the "send-to" controller I see

console.log($stateParams); // -> Empty {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions