diff --git a/js/ext/angular/src/directive/ionicSideMenu.js b/js/ext/angular/src/directive/ionicSideMenu.js index a6e69aa81a..11b3b86230 100644 --- a/js/ext/angular/src/directive/ionicSideMenu.js +++ b/js/ext/angular/src/directive/ionicSideMenu.js @@ -401,7 +401,8 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture', 'ionic.service.vie restrict: 'AC', require: '^ionSideMenus', link: function($scope, $element, $attr, sideMenuCtrl) { - var side = $scope.$eval($attr.menuToggle) || 'left'; + //This is always left because scope.$eval('right') will try to read scope.right + var side = $attr.menuToggle || 'left'; $element.bind('click', function(){ if(side === 'left') { sideMenuCtrl.toggleLeft(); diff --git a/js/ext/angular/test/list.html b/js/ext/angular/test/list.html index 3e7e53d6ba..7fcd7802cd 100644 --- a/js/ext/angular/test/list.html +++ b/js/ext/angular/test/list.html @@ -18,114 +18,126 @@
{{item.text}}
-{{item.text}}
+
- I am not a demon. I am a lizard, a shark, a heat-seeking panther. I want to be Bob Denver on acid playing the accordion.
-
+ I am not a demon. I am a lizard, a shark, a heat-seeking panther. I want to be Bob Denver on acid playing the accordion.
+