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

@jeme

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions