Skip to content

ResolvePolicy NOWAIT - promise not injected as binding to component #3276

@aj-dev

Description

@aj-dev

This is related to the previous issue I had #3243 using

resolvePolicy: {
    when: 'LAZY',
    async: 'NOWAIT'
}

The fix seems to be working fine when data promise is injected into controller defined on the state, but that's not the case when using Angular component's controller https://plnkr.co/edit/2EbaCl?p=preview

dataPromise resolve is correctly injected into onEnter hook but not as a binding to partial component's controller.

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