fixes #110 until angular integrates this fix itself.
fixes #88 also on Android (browser with no history support)
fixes #88 also on Android (browser with no history support)