Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Problem with left side menu and couchDB

$
0
0

@kranack wrote:

Hello everyone, I have a problem with my ionic app and couchDB.

I want to use couchDB with my app but that doesn't work :frowning:

There is my stateRouter

$stateProvider

  .state('app', {
     url: '/app',
     abstract: true,
     templateUrl: 'templates/menu.html',
     controller: 'AppCtrl'
  })

  .state('app.login', {
     url: '/login',
     views: {
     'menuContent': {
        templateUrl: 'templates/login.html',
        controller: 'loginCtrl'
     }
  }
  })

And this is my main template

<ion-side-menus enable-menu-with-back-views="false">
  <ion-side-menu-content>
     <ion-nav-bar class="bar-calm nav-title-slide-ios7">
         <ion-nav-back-button>
         </ion-nav-back-button>

         <ion-nav-buttons side="left">
              <button class="button button-icon button-clear ion-navicon" menu-toggle="left">
              </button>
         </ion-nav-buttons>
     </ion-nav-bar>
     <ion-nav-view name="menuContent"></ion-nav-view>
   </ion-side-menu-content>

  <ion-side-menu side="left" expose-aside-when="large">
  </ion-side-menu>
</ion-side-menus>

I have no error when i add objects with (except the fact, that doesn't display anything on my page) but when i reload my page, i see this in the js console : "An IndexedDB transaction that was not yet complete has been aborted due to page navigation"

If you have any questions, ask me :smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>