@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
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
Posts: 1
Participants: 1