artch/angular-route-segment

Does Angular Route Segment support passing of objects from one view to another?

Closed this issue · 1 comments

I'm looking at ui-router vs. Angular Route Segment and really like the fact that the latter sits on top of existing Angular functionality. Can you say whether or not I could pass an object from one view to another? E.g., if I'm in a list view that contains filters and I want to drill down into a details view for an item in the list view but also pass the filter values down to the details view as well (without putting them on the path). Thanks.

Views make use of angular scopes inheritance mechanics, so you can either deal with parent scopes or emit events up and down.