Skip to content

Disable parameter inheritance in ui-sref directive #376

Closed
@tobigit

Description

@tobigit

Is there a way to disable parameter inheritance in ui-sref directive?
I would like to have a second parameter, like this:

<a ui-sref="contacts.detail({ id: contact.id }, {inherit: false})">{{ contact.name }}</a>

With the second parameter i could set the options for the method $state.go().

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