How could I identify in ionic2 the back/calling view?
in ioni1 I was using
var backView:ionic.View = this.$ionicHistory.backView();
backView.stateName === ‘app.view_I_want_to_test’;
I was thinking about getting the view controller, but don’t know how to test if that view controller is the view I’m interested in.
let lastView:ViewController = this.navController.getPrevious(this.navController.getActive());