angular-breadcrumb icon indicating copy to clipboard operation
angular-breadcrumb copied to clipboard

parent tag not working for params in state

Open maxhan247 opened this issue 9 years ago • 2 comments

http://plnkr.co/U8rrmORZiS7xyLBM5wtp

In my plnkr, the "home", "element" and "detail" are parallel states, and I build parent-child relationship use parent tag. The requirement is the URL shouldn't show any id, so I send the id by params: {idElement: null}.

But the parent tag seems not work in this case. When I go to detail, I lose params in parent state.

breadcrumb

maxhan247 avatar Jul 26 '16 19:07 maxhan247

ui-sref style dynamic links seem to be broken currently, not sure if there is anything in the works to fix them... I came up with a workaround where I default state params using the $stateParams service. I forked your plunker to demonstrate the fix: http://plnkr.co/edit/8yQlDN8suimQAn0DWmuF?p=preview

mateatslc avatar Jan 26 '17 16:01 mateatslc

@mateatslc Not working on page refresh.

nmarcetic avatar Jul 26 '17 10:07 nmarcetic