Angularjs: $window.history.go not working in ios

Viewed 329

My webapp is using angularjs-1.5.11 and we are using below line to go back in the application:

$window.history.go(-1)

This is not working in ios 10.2.1 I've tried the below, but didn't work

window.history.go(-1) 
history.back()
navigator.app.backHistory

I saw other posts which suggests to disable hashListening but I'm not sure how to do this in angularjs.

Anyone has suggestions please.

2 Answers
Related