I'm looking to share a child state between multiple states. For example I have a shopping site.
Lets say I have the following
.com/random
.com/browse
.com/browse/product/:productID
.com/browse/:search/product/:productID
however I also have a shopping cart using a modal from ui-bootstrap.
Now I know how create
.com/browse/shoppingCart
.com/random/shoppingCart
and have them include the same service modal to share the code but I want a deep linkable shopping cart on every page that works with the back button to close it. so how can I do
.com/*/shoppingCart
without having to manually add a nested state to every single state?
I am using onEnter in the shopping cart to open the modal.