angular.module('mwUI.Menu')

  .directive('mwMenuDivider', function () {
    return {
      scope: {
        id: '@',
        label: '@',
        order: '='
      },
      templateUrl: 'uikit/mw-menu/directives/templates/mw_menu_divider.html',
      controllerAs: 'menuEntryCtrl'
    };
  });
@@ -239,45 +239,8 @@
 tml'
-,%0A      controllerAs: 'menuEntryCtrl'
 %0A   

remove controllerAs because it is not needed