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
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