Skip to content

angular_1_router: double slash at the root when path is the root itself #7633

@0cv

Description

@0cv

Regarding the new Angular1 Router (for 1.5), there is an issue when defining the root component with a path like path: '/...' or path: '...'. I have taken the sample application to illustrate the issue:
http://plnkr.co/edit/FVZZwxAjlOmxQ8uA9YLF?p=preview

Click on "Heroes", and then hover over the list. You will see paths like xxxxxx//10 instead of xxxxxx/10.

The only difference compared to the sample application is the line 20 in app.js.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions