Skip to content
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

Tighten integration between $state and $route #103

Open
4 tasks
jeme opened this issue May 26, 2014 · 0 comments
Open
4 tasks

Tighten integration between $state and $route #103

jeme opened this issue May 26, 2014 · 0 comments
Labels
Milestone

Comments

@jeme
Copy link
Contributor

jeme commented May 26, 2014

Combining the interface between route and state so the user don't have to use both. Routes without states will not make sense in the future, states without routes will still be available.

  • $state.bind('state', '/route') for binding additional routes to states.
  • $state.template('state', {}) Optional: for building reusable states.
  • $state.defaults({}) defaults for inherited properties.
  • $state.otherwise('state')as a replacement for $route.otherwise
@jeme jeme added this to the 1.0 milestone May 26, 2014
@jeme jeme added the feature label May 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant