dotJEM / angular-routing

Enhanced state based routing for Angular applications!
https://dotjem.github.io/angular-routing/
MIT License
75 stars 9 forks source link

Fix the 'regex' converter so that parameters can be reused #127

Closed thorn0 closed 9 years ago

thorn0 commented 9 years ago

The docs for $state say: "If the state has an associated route, that route will be activated and the location with change it the address bar of the browser. It is also important that all parameters are defined for such route, however if the previous state defines any of those, they won't need to be redefined." As for now, the last part (bold) of the last sentence isn't true when the regex converter is used.