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
Upon loading the application, the following error is thrown n times (I believe per anchor href on the page)
2VM9729 angular.js:11607 TypeError: Cannot read property 'replace' of undefined
at trimEmptyHash (VM9729 angular.js:10564)
at $LocationProvider.$get (VM9729 angular.js:11374)
at Object.invoke (VM9729 angular.js:4185)
at VM9729 angular.js:4003
at getService (VM9729 angular.js:4144)
at Object.invoke (VM9729 angular.js:4176)
at VM9729 angular.js:4003
at getService (VM9729 angular.js:4144)
at Object.invoke (VM9729 angular.js:4176)
at VM9729 angular.js:6485
@ilovett is this issue fixed or is it reposted in angular 1 repo? can you provide a link to that issue post? i am having the same problem but can't find working solution.
Running Angular 1.3.13
base href to load all assets from a specific subdirectory
enable html 5 mode
Routes are setup like this:
Upon loading the application, the following error is thrown n times (I believe per anchor href on the page)
Debugging this issue, I found at this line:
$location.absUrl()
returnsundefined
My GUESS is that the base href is throwing off the matching of routes at $.when('/'), and so is undefined...
The text was updated successfully, but these errors were encountered: