-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Description
Hi,
I ran into an issue with Ionic. I use snap.js for the side menu.
I got the following code:
<div snap-content snap-options="opts">
<header class="bar bar-header bar-positive">
<button class="button " ng-click="toggleMenu()">
<img src="img/icon-menu.svg" alt="☰" />
</button>
<h1 class="title">APP</h1>
</header>
<ng-view></ng-view>
</div>
and
$scope.toggleMenu = function() {
snapRemote.toggle('left');
console.log('toggle menu');
}
It works perfectly on chrome but on my iOS simulator and on my nexus 4, the menu does not toggle but "toggle menu" appears in the console.
If I remove ionic from the list:
angular.module('app', ['snap', 'ionic',..
it is also working.
Any thoughts on that?
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels