Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Extra #/page in url #698

Closed
slav opened this issue Jul 23, 2013 · 6 comments
Closed

Extra #/page in url #698

slav opened this issue Jul 23, 2013 · 6 comments

Comments

@slav
Copy link

slav commented Jul 23, 2013

Whenever I reference ui.bootstrap in my module as soon as page is loaded extra #/page is added.

So, if I had localhost/page1/page2 I end up with localhost/page1/page2#/page2

Any idea what might be causing this?

@pkozlowski-opensource
Copy link
Member

This is strange. Are you sure it is linked to ui.bootstrap? What is the version of respective libraries that you are using? Please provide a minimal reproduce scenario using http://plnkr.co/ so we can progress on this one.

@slav
Copy link
Author

slav commented Jul 24, 2013

I'm using AngularJS 1.1.5 (latest). I managed to nail down the problem to ui.bootstrap.dropdownToggle and the fact that it references $location. If I comment out the module code and comment out $location reference, everything works fine.

ui is 0.5 snapshot. ui util is 0.0.3

I haven't been able to repro it yet in plnkr

@pkozlowski-opensource
Copy link
Member

Interesting... I think I saw a bug for this opened for AngularJS. Does it happen with 1.0.x as well?

A minimal plunk would be awesome, I can try to track down both bugs in AngularJS and this project.

@slav
Copy link
Author

slav commented Jul 24, 2013

It seems to work fine with 1.0.7. So it's something with 1.1.5

@slav
Copy link
Author

slav commented Jul 25, 2013

I think this is the issue in 1.1.5 that's causing the problem: angular/angular.js#2860

@ajoslin
Copy link
Contributor

ajoslin commented Jul 27, 2013

you're right @slav - not a bug with bootstrap.

@ajoslin ajoslin closed this as completed Jul 27, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants