Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not working with Angular 1.6.2 #123

Open
patrickliechty opened this issue Feb 13, 2017 · 2 comments
Open

It is not working with Angular 1.6.2 #123

patrickliechty opened this issue Feb 13, 2017 · 2 comments

Comments

@patrickliechty
Copy link

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?

@patrickliechty
Copy link
Author

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

@patrickliechty
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant