refactor($ionicConfig): separate transition JS