Skip to content

Child view loaded twice when object id is a url (hateos api) #2250

Closed
@danielabar

Description

@danielabar

When using a hateos style rest api, the object id's are url's, that the client follows to get more details. In this case, when using ui-sref in the template, the child view is loaded twice, and the resolves also run twice. And the active state is lost.

Plunker demonstrating the issue

I've documented a workaround in the plunker readme, in case anyone else is having this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions