set window.location.href to something sensible.
set window.location.href to something sensible.

Some scripts depend on this to resolve absolute URLs.

tranphuoctien/angularjs-server,fusikky/angularjs-server,saymedia/angularjs-server