Slide bar not working


hey there
i am having trouble making the side menu of my app work. i use the code found in

on the index, i pasted this:

and on the app.js

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

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