Skip to content
This repository was archived by the owner on Sep 20, 2020. It is now read-only.
This repository was archived by the owner on Sep 20, 2020. It is now read-only.

Otherwise "/" #124

@raphaelluchini

Description

@raphaelluchini

Hello,

When I use a futureState url:'/' and otherwise('/') the router isn't calling otherwise. When I use only url:'/home' works.

Example:

var state = {
      'stateName': 'home',
      'url': '/',
      'templateUrl': 'template.html',
      'type': 'async'
    };

$urlRouterProvider.otherwise('/');
$futureStateProvider.futureState(state);

I've tried to fix, and now it's working, but there are some tests failing, when I get time I'll try to fix them.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions