fix($ionicHistory): pop duplicate view registers