Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Tighten integration between $state and $route #103

Description

@jeme

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions