Need help Please!


#1

Hi all. I have next code

$stateProvider
        .state(
        'main', {
          url: '/main',
          templateUrl: 'main.html',
          controller: 'MainCtrl'
        }
      )
    .state(
        'main.billing', {
          url: '/billing',
          templateUrl: 'profile/billing-main.html',
          controller: 'BillingCtrl',
        }
      ).state(
        'main.billing.general', {
          url: '/general',
          templateUrl: 'profile/billing-general.html',
          resolve: {
            Auth: Auth,
            LocationData: LocationData
          }
        }
      ).state(
        'main.billing.add', {
          url: '/add',
          templateUrl: 'profile/billing-add.html',
          resolve: {
            Auth: Auth,
            LocationData: LocationData
          }
        }
      );

and next html
in main.html i just have sidemen template with links in sidemenu and <ion-nav-view></ion-nav-view> inside ion-side-menu-content
in billing-main.html i have next code

<ion-nav-bar align-title="center" class="bar bar-clinic">
  <ion-nav-title>
    Billing Methods
  </ion-nav-title>
</ion-nav-bar>
<ion-nav-view></ion-nav-view>
<ion-footer-bar align-title="left" class="bar bar-clinic">
  //some footer html
</ion-footer-bar>

in billing-general.html i have next code

 <ion-view class="billing-view">
      <ion-nav-buttons side="left">
       //buttons
      </ion-nav-buttons>
    
      <ion-content class="has-header">
    //some HTML specific for this page
      </ion-content>
    </ion-view> 

and in billing-add.html i have the very close html as in billing-general.html ( i mean that i don’t have any <ion-nav-view></ion-nav-view> inside this last twi files.

and have some controller BillingCtrl see main.billing state above.

as i understand this controller will general for billing-general.html and billing-add.html.

for adding billing method(credit card) i use some coedova plugin thats scan card via camera and return data.
so in controller i have function like scanCard() and inbilling-add.html i have a list of all billing methods and button add new. When i click this button i call scanCard() function from controller and it open scan dialog get card data end return it back and i save it i some variable. and when i get data i change route to billing-add.html where i show this data and check if correct click save.

in IOS-8 all works fine. But in IOS-9 i have a bug… that i don’t see saved card data…
I check data that i get from cordova module -all fine.

How i can find out this problem? Does this my problem related really to IOS9 or it was a magic that it works on ios8 and i did something wrong early?

I hope that i describe my problem good.
And sorry for my bad English