marklagendijk / ui-router.stateHelper

A helper module for AngularUI Router, which allows you to define your states as an object tree.
MIT License
235 stars 40 forks source link

Added keepOriginalNames flag to prevent conversion to dot notation. #2

Closed jyonker closed 10 years ago

jyonker commented 10 years ago

First, thanks for making a great project! It really helps make routing definitions clearer and more readable. This PR is to add a flag that allows people to turn off the automatic dot notation conversion. UI-router allows developers to decide whether or not to use the dot notation feature, so it makes sense to extend that decision to users of this plugin.

marklagendijk commented 10 years ago

Looks good. Could you add some text to the README, describing this feature?

jyonker commented 10 years ago

Good call! I added some documentation.

marklagendijk commented 10 years ago

Thanks!