I found a solution, not the reason why it doesnt work. basically now I make use of the library angular-route-segment<http://angular-route-segment.com/> this allows multiple controllers to make use of the routeParameters by injecting a $routeSegment
On Wednesday, January 29, 2014 12:04:53 PM UTC+1, Rolf Strijdhorst wrote: > > Hi all I have an issue with routes. > on my page I have an initial visable list with links. > when I click on a link two need to happen: > > 1. another list needs to be updated (with a different controller) this > happens by using a listener to a broadcasted event. > 2. an ng-view gets updated by the routing schematics in my app.js > using the routeProvider > > well these things happen ok. however once I click on a link in that other > list the same sequence need to happen but this doesnt at all. > when I debug I see that the route object is undefined and I get the former > routeParams I used in my previous link. > > basically my page looks as follows: > > ------------------------------------------------------------------- > | list-1 | list-2 | list-3 | > | list-1 | list-2 | list-3 | > | | list-2 | | > ------------------------------------------------------------------- > | ng-view | > | | > ------------------------------------------------------------------- > > I created a plunk to demo this: > http://plnkr.co/30JxH1 > > anyone able to give me an idea how to fix this? > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
