Closed tato123 closed 9 years ago
Hi @tato123
Thank you for being committed to making this project better. While famous-angular may use ui-router in its examples it does not provide support for it. If you would like to see documentation for ui-router, I would encourage you to create it and submit a PR to the project.
Thanks again,
Jordan
This may just require updating the documentation, however I've noticed that when combining famo.us angular with ui-router and utilizing the animation enter and leave directives in the case of a parent with multiple child views (assuming a singular named ui-view for children), $done must be used and invoked on any transitionables, otherwise ui-router appears to append the content (all child views as you navigate will get get added together to the parent view rather than overriding the named ui-view).
Example
Root Page
Child 1
Child 2
Child 1 & Child 2 Controller
UI Router