Skip to content

It is not working with Angular 1.6.2 #123

Open

Description

@patrickliechty

Our app is using Angular Route Segment. I upgraded angular-route and angular to 1.6.2 and Angular Route Segment doesn't work. Have you tested it with 1.6?

Activity

  1. patrickliechty commented on Feb 15, 2017

    @patrickliechty
    Author

    $routeSegment.contains use to return true when comparing a route. Now it is false. The chain is not present when checking.

  2. patrickliechty commented on Feb 15, 2017

    @patrickliechty
    Author

    I found a work around. In Angular 1.6, they add a ! in the hash. If you call hashPrevix('') it removes it.

    $locationProvider.hashPrefix('');

    You can see the breaking change in the release notes here:

    Look for $location

    https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions