fix($location/$httpBackend): resolved Cordova/Windows Phone compatibility