This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Description
Ideally I'd like to have
<base href="//myserver.com">
in my HTML, so that I can serve http and https from the same folder. But Angular then falls over with a:
TypeError: Cannot call method 'indexOf' of undefined
at beginsWith (http://localhost:5012/js/vendor/angular/angular.js:8405:13)
at Object.$$parse (http://localhost:5012/js/vendor/angular/angular.js:8448:19)
at $LocationProvider.$get (http://localhost:5012/js/vendor/angular/angular.js:8960:15)
at Object.invoke (http://localhost:5012/js/vendor/angular/angular.js:3646:28)
at http://localhost:5012/js/vendor/angular/angular.js:3479:37
at getService (http://localhost:5012/js/vendor/angular/angular.js:3600:39)
at Object.invoke (http://localhost:5012/js/vendor/angular/angular.js:3622:13)
at http://localhost:5012/js/vendor/angular/angular.js:3479:37
at getService (http://localhost:5012/js/vendor/angular/angular.js:3600:39)
at Object.invoke (http://localhost:5012/js/vendor/angular/angular.js:3622:13)