title: Unable to use $ionicSideMenuDelegate with $inject
body: <p>I am refactoring my whole app, and Im now following John Papa's styleguide. <br><strong>Basically my controller went from :</strong></p>
  
  <pre><code>.controller('TutorialCtrl', function($scope, $state, $ionicSlideBoxDelegate, $ionicSideMenuDelegate) {
  
    $ionicSideMenuDelegate.canDragContent(false);
  
  }
  </code></pre>
  
  <p>(using anonymous function) <br><strong>to</strong> </p>
  
  <pre><code>(function(){
    'use strict';
  
    angular
      .module('app.tutorial')
      .controller('TutorialCtrl', TutorialCtrl);
  
      TutorialCtrl.$inject = ['$scope', '$state', '$ionicSlideBoxDelegate', '$ionicSideMenuDelegate'];
  
      function TutorialCtrl() {
        //do stuff here
      }
  </code></pre>
  
  <p>And I cannot see how to get it to work. I was using the anonymous declaration function to use $ionicSideMenuDelegate, and now I guess I have to declare a function to make that happens. Im not sure if thats the way to go, because when I tried : </p>
  
  <pre><code>angular.controller('TutorialCtrl', TutorialCtrl);
  
  TutorialCtrl.$inject = ['$state', '$ionicSlideBoxDelegate', '$ionicSideMenuDelegate'];
  
  function TutorialCtrl($ionicSideMenuDelegate) {
        $ionicSideMenuDelegate.canDragContent(false);
  }
  </code></pre>
  
  <p>It says "$ionicSideMenuDelegate.canDragContent is not a function", and when I try : </p>
  
  <pre><code>angular.controller('TutorialCtrl', TutorialCtrl);
  
      TutorialCtrl.$inject = [
          '$scope',
          '$state', 
          '$ionicSlideBoxDelegate', 
          '$ionicSideMenuDelegate'
      ];
      $scope.$on('$ionicView.enter', function () {
          $ionicSideMenuDelegate.canDragContent(false);
      });
  </code></pre>
  
  <p>It says $scope is not defined. Im kinda lost and struggling on this... any help is appreciated ! Shouldnt be too hard but I can't figure out. I hope this is clear enough !</p>