Slide bar not working


#1

hey there
i am having trouble making the side menu of my app work. i use the code found in http://ionicframework.com/docs/api/directive/ionSideMenus/

on the index, i pasted this:

and on the app.js

function ContentController($scope, $ionicSideMenuDelegate) {
$scope.toggleLeft = function() {
$ionicSideMenuDelegate.toggleLeft();
};
}

but still, it is not working… Need help. i am new to ionic. thanks