swipeBackEnabled not working, throws error

It should be $ionicConfigProvider.views.swipeBackEnabled(false);

3 Likes