-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[build] Replace $routeProvider with ui-router #4
Comments
I had a go at implementing this (ce041e6553), and it works pretty well. However, I found I had to duplicate my The best solution I can think of is to add a new Thoughts? |
Instead of $routeProvider, ui-router's $stateProvider is now used for managing application states and routes. ui-router is *much* more powerful and for large applications will provide many benefits that the boilerplate does not explore in vitro. Closes #4.
I added ui-router as a drop-in replacement and it works swimmingly. It's on branch v0.3wip for the moment but will be merged to master within the next few days. So I'm going to close this issue. @rolaveric I didn't really follow that. I know this was a month ago, but would you mind elaborating? |
@joshdmiller Sorry - I'm sure it made perfect sense to me at the time, but it looks like I lost the plot part way through. I was trying to use the nested states and views that ui-router provides, splitting My previous solution, which I mentioned in my last comment, was create a separate A better solution (Which I will push to my fork when I get home this evening) is to simply never call
There's a discussion on how to build this into ui-router natively, but there hasn't been any activity for about 2 weeks: |
Here's a commit for my 'better solution'(tm): 9ef2e62 I also realised that the latest tagged version of the |
No description provided.
The text was updated successfully, but these errors were encountered: