Skip to content

$stateParams vs $transition$.params() #3237

@jwickens

Description

@jwickens

I was following https://ui-router.github.io/tutorial/ng1/hellosolarsystem and trying to get state params working. However, on trying to load a state with a resolve using $transition$ there was an unlogged error and nothing loaded.

I found in the hello universe docs @stateParams and that works fine.

What is the difference or do the docs need updating?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions