-
Notifications
You must be signed in to change notification settings - Fork 3k
Organize long list of routes #1262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
My recommendation: https://github.com/ProLoser/angularjs-orm Please close if you feel this suffice's |
I am not sure if this is the answer. Can you elaborate? |
Checkout the code organization. You will find that in this repo, I've distributed the states across multiple If you're saying that you'd rather use some sort of JSON file though, you could create an iterator or lazy-load the routes. |
Oh I see your point. Basically split out into modules instead of a single big app.config Let me test around some more Close for now |
Here you could find my proposal #1051 (comment) |
I am using angular-ui-router https://github.com/angular-ui/ui-router for route management now. However, my
$stateProvider
is very long with 50 - 100 routes:What is the best way to organize this? Is there a way to put everything in a nested JSON?
The text was updated successfully, but these errors were encountered: