Skip to content

Child $stateParams empty object in state.resolve 1.0 #2744

@xeii

Description

@xeii

Version: 1.0.0-alpha.4

The plunker example demonstrates similar state tree as I currently have in my application. The problem is when transitioning from home.list to home.foo.bar({ id: 1 }). The abstract state home.foo resolve shows correctly $stateParams = { id: 1} but the child state home.foo.bar shows only empty object.

Furthermore, $state.params is also empty object BUT shows correctly after the resolve block is completed. The value is bind to the view in the Plunker example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions