X Tutup
Skip to content

fix(router 1.x) navigation broken when using ngLink directive #3959

@brandonroberts

Description

@brandonroberts

Trying to navigate by clicking links generated by the ngLink directive fail to display the content. The ngLink is generating a relative path instead of an absolute path, which causes the instruction to not be found. If you use an href with an absolute path, navigation works correctly. The routerLink directive generates an absolute path. Link to an example gist below.

https://gist.github.com/brandonroberts/3e956355202a5d6047d1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup