Submit a bug about $ionNavBackButton


#1

I used ionic write webapp for wechat( a instant message tool in china). So my webapp run in wechat’s browser shell. When I click ionNavBackButton, it’s not match with browser’s behavior.
I view source code, find out this:

var backView = $ionicViewService.getBackView();
backView && backView.go();

I changed like below, everything is OK:

var backView = $ionicViewService.getBackView();
backView && $window.history.go(-1);

Am I right?