Open maxhan247 opened 8 years ago
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 Not working on page refresh.
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.