old_contents: angular.module('mwUI.Menu')
  
    .directive('mwMenuDivider', function () {
      return {
        scope: {
          id: '@',
          label: '@',
          order: '='
        },
        templateUrl: 'uikit/mw-menu/directives/templates/mw_menu_divider.html',
        controllerAs: 'menuEntryCtrl'
      };
    });
new_contents: angular.module('mwUI.Menu')
  
    .directive('mwMenuDivider', function () {
      return {
        scope: {
          id: '@',
          label: '@',
          order: '='
        },
        templateUrl: 'uikit/mw-menu/directives/templates/mw_menu_divider.html'
      };
    });
subject: remove controllerAs because it is not needed