If I go into my initial controller everything works as expected. My other controller, no matter how I navigate to it (including by hand setting the address bar) doesn't match any of its $routeProvider when rules. I set a breakpoint in switchRouteMatcher and the reason this happens is that the regexp doesn't ever match.
The path is ":id/index" (I've tried with a / prefix as well as trying the other order, index/:id). The regexp generated by angular looks right, it's just that the "on" value in switchRouteMatcher is never the right value even though the addressbar shows http://myhost:myport/myappcontext/segment/6/index. I've done a lot of spelunking and learned a lot about Angular, but I still am puzzled by the behavior. Rachel -- 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/d/optout.
