refactor($ionicHistory): add nextViewOptions