You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
patrickliechty commentedon Feb 15, 2017
$routeSegment.contains use to return true when comparing a route. Now it is false. The chain is not present when checking.
patrickliechty commentedon Feb 15, 2017
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