angular-route-segment icon indicating copy to clipboard operation
angular-route-segment copied to clipboard

Segment default params override actual ones

Open wingedfox opened this issue 11 years ago • 1 comments

Segment definition

.segment('browse', {
     default: true,
     dependencies: ['what'],
     templateUrl: 'views/list.html',
     controller: 'FileListCtrl',
     params: {what: 'root'}

When I navigate directly to http://host/browse/home, I get the listing not from home, but from root instead.

Checked with release 1.3.0

wingedfox avatar Jun 30 '14 13:06 wingedfox

Could you please make a plunker illustrating this issue?

artch avatar Jun 30 '14 13:06 artch