Hi
I’m working on ionic application that will be used on android and ios devices. I’m using ion-side-menus.
This is my home screen html code:
<ion-side-menus>
<ion-side-menu-content>
<ion-content>
<div ng-repeat="category in categories" ng-click="display_pages($index)" class="category">
{{ category.name }}
</div>
</ion-content>
</ion-side-menu-content>
<ion-side-menu side="left">
<ion-list>
<ion-item ng-repeat="page in pages" menu-close>
<a href="" ui-sref="page({ id: page.id })">{{ page.name }}</a>
</ion-item>
</ion-list>
</ion-side-menu>
</ion-side-menus>
When someone clicks on home screen div - menu opens. There are links to another pages in the menu. When someone clicks on that link - new page opens.
Ewerithing seems to work perfectly despite the fact that on android devices system back button doesn’t work. When user is on the subpage and presses back button - application returns to system.
Everything works ok when i remove ion-side-menus and display links without it. But i have to use this kind of menu…
Somebody can help me? What i’m doing wrong?