Skip to content

Errors in auxiliary route #5027

@yfain

Description

@yfain

Had issues with opening Auxiliary route using the syntax that @btford showed at Angular Connect: <a [router-link]="['/', ['Chat']] ">Chat</a>. It gives syntax errors during the runtime.

@brandonroberts suggested the fix using <a href="/#/(chat)">Chat</a></div>. Now the aux route opens the required component but shows errors in the console and breaks the URLs of the other routes. When I run it locally (not in the plunker) and open the Chat route, the URL localhost:8080/#(chat) remains unchanged no matter what link I click.The Back button doesn't work either.

Here's the plank: http://plnkr.co/edit/jZv8jj?p=preview.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions