test(sideMenu2): update test to reflect changes

This commit is contained in:
Andy Joslin
2014-03-17 07:48:52 -06:00
parent 4715a118e0
commit cc0a4ef775
5 changed files with 35 additions and 23 deletions

View File

@@ -190,7 +190,7 @@
$urlRouterProvider.otherwise("/event/home");
})
.controller('MainCtrl', function($scope, $ionicSideMenuDelegate) {
.controller('MainCtrl', function($scope) {
console.log('MainCtrl');
$scope.data = {
@@ -198,7 +198,7 @@
};
$scope.closeMenu = function() {
$ionicSideMenuDelegate.close($scope);
$scope.sideMenuController.toggleLeft(false);
};
setTimeout(function(){