Skip to content

Commit

Permalink
Fixed side menu test
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Dec 6, 2015
1 parent 7199e09 commit 329549e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/html/sideMenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<ion-side-menu-content edge-drag-threshold="true" drag-content="!$root.disableDrag">
<header class="bar bar-header bar-positive">
<button class="button button-icon ion-navicon" ng-click="toggleLeft()" ng-hide="$exposeAside.active"></button>
<button class="button button-icon ion-navicon" menu-toggle="left" ng-hide="$exposeAside.active"></button>
<h1 class="title">Slide me</h1>
<button class="button button-icon ion-navicon" ng-click="toggleRight()"></button>
<button class="button button-icon ion-navicon" menu-toggle="right"></button>
</header>
<ion-content class="has-header">
<ion-toggle ng-model="$root.disableDrag">Disable Drag Content?</ion-toggle>
Expand Down Expand Up @@ -67,9 +67,6 @@ <h1 class="title">Right</h1>

.controller('MenuCtrl', function($scope, $ionicSideMenuDelegate) {

$scope.toggleLeft = $ionicSideMenuDelegate.toggleLeft;
$scope.toggleRight = $ionicSideMenuDelegate.toggleRight;

$scope.list = [];
for(var i = 0; i < 20; i++) {
$scope.list.push({
Expand Down

0 comments on commit 329549e

Please sign in to comment.