javascript - app navigation works in browser but not in ionic view -


sorry know there questions similar 1 asking don't know if problem same. have been testing in browser entire time of development , app worked perfectly, when tested on own device ionic view there curtain pages not opening. have side menu template , added 2 tabbed interfaces derived 1 side menu item. not getting errors. have seen people ionic view javascript, css etc. files not upload. of pages load except 1 tabbed interface tabt states. not sure if bug on ionic or way layered app. thanks.

html  <ion-view view-title="truck search">   <ion-content>       <div class="list">    <label class="item item-input item-select">     <div class="input-label">       quote number:     </div>     <select>         <option selected>select</option>       <option>#0001</option>       <option>#0002</option>       <option>#0003</option>     </select>   </label>  </div>     <ion-item class="item-stable" ng-repeat="trucklist in trucklists" href="#/tabt/truck/{{phaseslist.id}}">          {{trucklist.title}}     </ion-item>   </ion-content> </ion-view>  app js  .config(function($stateprovider, $urlrouterprovider) {   $stateprovider    .state('tabt', {     url: "/tabt",     abstract: true,     templateurl: "templates/tabst.html"   })    .state('tabt.truck', {     url: '/truck/:truckid',     views: {       'tabt-truck': {         templateurl: 'templates/tabt-truck.html',         controller: 'truckctrl'       }     }   })    .state('tabt.phases', {     url: '/phases',     views: {       'tabt-phases': {         templateurl: 'templates/tabt-phases.html',         controller: 'phasesctrl'       }     }   })    .state('tabt.truckinfo', {     url: '/truckinfo',     views: {       'tabt-truckinfo': {         templateurl: 'templates/tabt-truckinfo.html',         controller: 'truckinfoctrl'       }     }   })     .state('tabc', {     url: "/tabc",     abstract: true,     templateurl: "templates/tabsc.html"   })    .state('tabc.client', {     url: '/client/:clientid',     views: {       'tabc-client': {         templateurl: 'templates/tabc-client.html',         controller: 'clientctrl'       }     }   })    .state('tabc.trucksearch', {     url: '/trucksearch',     views: {       'tabc-trucksearch': {         templateurl: 'templates/tabc-trucksearch.html',         controller: 'trucksearchctrl'       }     }   })    .state('tabc.clientinfo', {     url: '/clientinfo',     views: {       'tabc-clientinfo': {         templateurl: 'templates/tabc-clientinfo.html',         controller: 'clientinfoctrl'       }     }   })    .state('app', {     url: "/app",     abstract: true,     templateurl: "templates/menu.html",     controller: 'appctrl'   })      .state('app.clients', {       url: "/clients",       views: {         'menucontent': {           templateurl: "templates/clients.html",           controller: 'clientslistctrl'         }       }     })      .state('app.qualitycontrol', {       url: "/qualitycontrol",       views: {         'menucontent': {           templateurl: "templates/qualitycontrol.html"         }       }     })    .state('app.checkin', {       url: "/checkin",       views: {         'menucontent': {           templateurl: "templates/checkin.html",           controller: 'checkinctrl'         }       }     })    .state('app.single', {     url: "/checklist",     views: {       'menucontent': {         templateurl: "templates/checklist.html",         controller: 'checklistctrl'       }     }   })    .state('app.double', {     url: "/checkextra",     views: {       'menucontent': {         templateurl: "templates/checkextra.html",         controller: 'checkextractrl'       }     }   });   // if none of above states matched, use fallback   $urlrouterprovider.otherwise('/app/checkin'); }); 


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -