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
I've been building an app with the angular 1.3 release candidate and another one of my team members mentioned that when right clicking and opening in a new tab it wasn't maintaining the html5Mode(off) hashbang.
Example:
<aui-sref="home"></a>
should resolve to
<ahref="#/home"></a>
but instead it's resolving to
<ahref="/home"></a>
This is only happening with angular 1.3.x.
So I looked into it and believe I found the issue.
Previous to angular 1.3.x, $locationProvider.html5Mode() used to simply return a boolean. Now, it returns an object like so:
{enabled: false,requireBase: true}
I'll make a pull request, but just wanted the issue documented.
Oh, here's a plunker. Try to right click and open in a new window/tab and you'll receive a broken page because the hash is missing.
The text was updated successfully, but these errors were encountered:
Closes#82
Updated ui-router to pre-release to fix the problem with angular 1.3
and missing. In the current release, ui-router is stuck in html5 mode,
even if it is currently disabled.
angular-ui/ui-router#1408
I've been building an app with the angular 1.3 release candidate and another one of my team members mentioned that when right clicking and opening in a new tab it wasn't maintaining the html5Mode(off) hashbang.
Example:
should resolve to
but instead it's resolving to
This is only happening with angular 1.3.x.
So I looked into it and believe I found the issue.
Previous to angular 1.3.x, $locationProvider.html5Mode() used to simply return a boolean. Now, it returns an object like so:
I'll make a pull request, but just wanted the issue documented.
Oh, here's a plunker. Try to right click and open in a new window/tab and you'll receive a broken page because the hash is missing.
The text was updated successfully, but these errors were encountered: